File tree Expand file tree Collapse file tree 4 files changed +43
-2
lines changed Expand file tree Collapse file tree 4 files changed +43
-2
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,5 @@ coverage/
10
10
npm-debug.log
11
11
junit /
12
12
dist /karma.start.js
13
- doc /
13
+ doc /
14
+ typings /
Original file line number Diff line number Diff line change 2
2
"files.exclude" : {
3
3
"**/.git" : true ,
4
4
"**/.DS_Store" : true ,
5
- "**/dist" : true
5
+ "dist/*.js" :true ,
6
+ "dist/*.map" :true
6
7
}
7
8
}
Original file line number Diff line number Diff line change
1
+
2
+ /// <reference path="../typings/browser/ambient/firebase/index.d.ts"/>
3
+ //todo more tpyings for return types...
4
+
5
+ import { Adapter } from 'js-data-adapter'
6
+
7
+ interface IDict {
8
+ [ key : string ] : any ;
9
+ }
10
+
11
+ interface IBaseAdapter extends IDict {
12
+ debug ?: boolean ,
13
+ raw ?: boolean
14
+ }
15
+ interface IBaseFirebaseAdapter extends IBaseAdapter {
16
+ basePath ?: string
17
+ baseRef ?: Firebase
18
+ }
19
+ export class FirebaseAdapter extends Adapter {
20
+ static extend ( instanceProps ?: IDict , classProps ?: IDict ) : typeof FirebaseAdapter
21
+ constructor ( opts ?: IBaseFirebaseAdapter )
22
+ }
23
+ export interface version {
24
+ full : string
25
+ minor : string
26
+ major : string
27
+ patch : string
28
+ alpha : string | boolean
29
+ beta : string | boolean
30
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " js-data-firebase" ,
3
+ "version" : false ,
4
+ "main" : " ./dist/js-data-firebase.d.ts" ,
5
+ "ambientDependencies" : {
6
+ "es6-shim" : " registry:dt/es6-shim" ,
7
+ "firebase" : " registry:dt/firebase#2.4.1+20160412125105"
8
+ }
9
+ }
You can’t perform that action at this time.
0 commit comments