File tree Expand file tree Collapse file tree 2 files changed +13
-20
lines changed
Expand file tree Collapse file tree 2 files changed +13
-20
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,6 @@ import {Adapter} from 'js-data-adapter'
33interface IDict {
44 [ key : string ] : any ;
55}
6- interface IActionOpts {
7- adapter ?: string ,
8- pathname ?: string ,
9- request ?: Function ,
10- response ?: Function ,
11- responseError ?: Function
12- }
136interface IBaseAdapter extends IDict {
147 debug ?: boolean ,
158 raw ?: boolean
@@ -20,19 +13,19 @@ interface IBaseRethinkDBAdapter extends IBaseAdapter {
2013 db ?: string
2114 deleteOpts ?: IDict
2215 host ?: string
23- insertOpts ?: IDICT
16+ insertOpts ?: IDict
2417 max ?: number
2518 min ?: number
26- operators ?: IDICT
19+ operators ?: IDict
2720 port ?: number
28- runOpts ?: IDICT
29- updateOpts ?: IDICT
21+ runOpts ?: IDict
22+ updateOpts ?: IDict
3023}
3124export class RethinkDBAdapter extends Adapter {
3225 static extend ( instanceProps ?: IDict , classProps ?: IDict ) : typeof RethinkDBAdapter
3326 constructor ( opts ?: IBaseRethinkDBAdapter )
3427}
35- export const OPERATORS = {
28+ export interface OPERATORS {
3629 '==' : Function
3730 '===' : Function
3831 '!=' : Function
@@ -48,11 +41,11 @@ export const OPERATORS = {
4841 'contains' : Function
4942 'notContains' : Function
5043}
51- export const version = {
52- full ? : string
53- minor ? : string
54- major ? : string
55- patch ? : string
56- alpha ? : string | boolean
57- beta ? : string | boolean
44+ export interface version {
45+ full : string
46+ minor : string
47+ major : string
48+ patch : string
49+ alpha : string | boolean
50+ beta : string | boolean
5851}
Original file line number Diff line number Diff line change 6464 "babel-polyfill" : " 6.7.4" ,
6565 "babel-preset-es2015-rollup" : " 1.1.1" ,
6666 "istanbul" : " 0.4.3" ,
67- "js-data-adapter-tests" : " ^2.0.0-alpha.15 " ,
67+ "js-data-adapter-tests" : " ^2.0.0-alpha.16 " ,
6868 "js-data-repo-tools" : " 0.5.0" ,
6969 "rollup" : " 0.26.1" ,
7070 "rollup-plugin-babel" : " 2.4.0" ,
You can’t perform that action at this time.
0 commit comments