forked from ReactiveDB/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(storage): Implement Database insert update delete and QueryToken…
….prototype.value
- Loading branch information
1 parent
fb16996
commit 252a971
Showing
47 changed files
with
2,274 additions
and
565 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
node_modules | ||
node_modules | ||
spec-js | ||
dist | ||
*.log | ||
coverage | ||
.nyc_output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
approvals = 1 | ||
pattern = "(?i):shipit:|:\\+1:|LGTM" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Place your settings in this file to overwrite default and user settings. | ||
{ | ||
"typescript.tsdk": "./node_modules/typescript/lib" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Brooooooklyn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
machine: | ||
node: | ||
version: 6.9.1 | ||
|
||
test: | ||
override: | ||
- npm run cover | ||
post: | ||
- cp ./.nyc_output/*.json $CIRCLE_ARTIFACTS | ||
|
||
notify: | ||
webhooks: | ||
- url: http://teambition.vvlyn.com/api/circle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,50 @@ | ||
{ | ||
"name": "lovefield-playground", | ||
"version": "1.0.0", | ||
"description": "lovefield playground", | ||
"name": "reactive-database", | ||
"version": "0.7.0", | ||
"description": "Reactive ORM for Lovefield", | ||
"main": "index.js", | ||
"scripts": { | ||
"start": "webpack-dev-server --inline --colors --progress --display-error-details --display-cached --port 3000 --content-base src", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"build_cjs": "rm -rf dist/cjs && tsc src/index.ts -m commonjs --outDir dist/cjs --sourcemap --sourceRoot src --target ES5 -d --diagnostics --pretty --noImplicitAny --noImplicitReturns --noImplicitThis --noUnusedLocals --noUnusedParameters --experimentalDecorators --suppressImplicitAnyIndexErrors --moduleResolution node --noEmitHelpers --lib es5,es2015.iterable,es2015.collection,es2015.promise,dom", | ||
"build_test": "rm -rf spec-js && tsc test/run.ts -m commonjs --outDir spec-js --sourcemap --target ES2015 --diagnostics --pretty --noImplicitAny --noImplicitReturns --experimentalDecorators --suppressImplicitAnyIndexErrors --moduleResolution node", | ||
"cover": "npm run build_test && nyc --reporter=html --exclude=node_modules --exclude=spec-js/test --exclude=spec-js/src/storage/lovefield tman --mocha spec-js/test/run.js", | ||
"lint": "tslint ./src/**/*.ts ./test/**/*.ts", | ||
"test": "npm run lint && tman --mocha spec-js/test/run.js", | ||
"watch_cjs": "tsc src/index.ts -m commonjs --outDir dist/cjs --sourcemap --sourceRoot src --target ES5 -d --diagnostics --pretty --noImplicitAny --noImplicitReturns --experimentalDecorators --suppressImplicitAnyIndexErrors --moduleResolution node --noEmitHelpers --lib es5,es2015.iterable,es2015.collection,es2015.promise,dom -w", | ||
"watch_test": "tsc test/run.ts -m commonjs --outDir spec-js --sourcemap --target ES2015 --diagnostics --pretty --noImplicitAny --noImplicitReturns --experimentalDecorators --suppressImplicitAnyIndexErrors --moduleResolution node -w & ts-node ./tools/watch.ts" | ||
}, | ||
"keywords": [ | ||
"lovefield" | ||
"lovefield", | ||
"RxJS" | ||
], | ||
"author": "[email protected]", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/chai": "^3.4.34", | ||
"@types/lovefield": "^2.0.31", | ||
"@types/node": "^6.0.51", | ||
"@types/sinon": "^1.16.32", | ||
"@types/sinon-chai": "^2.7.27", | ||
"chai": "^3.5.0", | ||
"extract-text-webpack-plugin": "^1.0.1", | ||
"html-webpack-plugin": "^2.24.1", | ||
"moment": "^2.17.1", | ||
"nyc": "^10.0.0", | ||
"raw-loader": "^0.5.1", | ||
"sinon": "^1.17.6", | ||
"sinon-chai": "^2.8.0", | ||
"source-map-loader": "^0.1.5", | ||
"ts-loader": "^1.2.0", | ||
"tman": "^1.6.3", | ||
"ts-loader": "^1.2.2", | ||
"ts-node": "^1.7.0", | ||
"typescript": "^2.0.9", | ||
"tslint": "^4.0.2", | ||
"typescript": "^2.0.10", | ||
"webpack": "^1.13.3", | ||
"webpack-merge": "^0.15.0" | ||
"webpack-dev-server": "^1.16.2", | ||
"webpack-merge": "^0.17.0" | ||
}, | ||
"dependencies": { | ||
"lovefield": "^2.1.10", | ||
"rxjs": "^5.0.0-rc.2" | ||
"rxjs": "^5.0.0-rc.4" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
declare namespace NodeJS { | ||
export interface Global { | ||
self: NodeJS.Global | ||
} | ||
} | ||
|
||
if (typeof global !== 'undefined') { | ||
global.self = global | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import './global' | ||
export { Database } from './storage/Database' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export enum RDBType { | ||
ARRAY_BUFFER, | ||
BOOLEAN, | ||
DATE_TIME, | ||
INTEGER, | ||
NUMBER, | ||
OBJECT, | ||
STRING, | ||
LITERAL_ARRAY | ||
} |
Oops, something went wrong.