Skip to content

Commit 4662050

Browse files
committed
Two fixes.
1 parent cf19792 commit 4662050

File tree

2 files changed

+13
-20
lines changed

2 files changed

+13
-20
lines changed

dist/js-data-rethinkdb.d.ts

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@ import {Adapter} from 'js-data-adapter'
33
interface 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-
}
136
interface 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
}
3124
export 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
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
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",

0 commit comments

Comments
 (0)