Skip to content

Commit cf19792

Browse files
committed
Prepare for 3.0.0-beta.2
1 parent b355ace commit cf19792

File tree

7 files changed

+70
-1014
lines changed

7 files changed

+70
-1014
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
dist/*.js
2+
dist/*.map
13
# Logs
24
logs
35
*.log

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
```
2424

2525
- `OPERATORS` is now an export, not a static property of the `RethinkDBAdapter` class.
26+
- Moved some `dist` files to `release` to reduce noise
2627

2728
###### Other
2829
- Upgraded dependencies

dist/js-data-rethinkdb.d.ts

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
import {Adapter} from 'js-data-adapter'
2+
3+
interface IDict {
4+
[key: string]: any;
5+
}
6+
interface IActionOpts {
7+
adapter?: string,
8+
pathname?: string,
9+
request?: Function,
10+
response?: Function,
11+
responseError?: Function
12+
}
13+
interface IBaseAdapter extends IDict {
14+
debug?: boolean,
15+
raw?: boolean
16+
}
17+
interface IBaseRethinkDBAdapter extends IBaseAdapter {
18+
authKey?: string
19+
bufferSize?: number
20+
db?: string
21+
deleteOpts?: IDict
22+
host?: string
23+
insertOpts?: IDICT
24+
max?: number
25+
min?: number
26+
operators?: IDICT
27+
port?: number
28+
runOpts?: IDICT
29+
updateOpts?: IDICT
30+
}
31+
export class RethinkDBAdapter extends Adapter {
32+
static extend(instanceProps?: IDict, classProps?: IDict): typeof RethinkDBAdapter
33+
constructor(opts?: IBaseRethinkDBAdapter)
34+
}
35+
export const OPERATORS = {
36+
'==': Function
37+
'===': Function
38+
'!=': Function
39+
'!==': Function
40+
'>': Function
41+
'>=': Function
42+
'<': Function
43+
'<=': Function
44+
'isectEmpty': Function
45+
'isectNotEmpty': Function
46+
'in': Function
47+
'notIn': Function
48+
'contains': Function
49+
'notContains': Function
50+
}
51+
export const version = {
52+
full?: string
53+
minor?: string
54+
major?: string
55+
patch?: string
56+
alpha?: string | boolean
57+
beta?: string | boolean
58+
}

0 commit comments

Comments
 (0)