Skip to content

Commit

Permalink
Typo fix. FireBaseQueryale -> FireBaseQueryable.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoodgrove committed Jun 28, 2018
1 parent ca921a4 commit 0511b21
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ asyncData.then(data => {

#### Firebase
``` ts
const FireBaseQueryale = require('linq-fns').FireBaseQueryale;
const FireBaseQueryable = require('linq-fns').FireBaseQueryable;
const admin = require('firebase-admin');
const serviceAccount = require('./serviceAccountKey');

Expand All @@ -55,7 +55,7 @@ admin.initializeApp({
});

const db = admin.database();
const postsQuery = new FireBaseQueryale(db,'<yourdb>.posts');
const postsQuery = new FireBaseQueryable(db,'<yourdb>.posts');

// READ AND QUERY DATA
// ES5 Promise
Expand Down
4 changes: 2 additions & 2 deletions src/drivers/linq-fns.firebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { IMethods } from '../intefaces';
import { IRepository } from './interfaces/repository.interface';
import { BaseRepository } from './base.repository';

export class FireBaseQueryale<T> extends BaseRepository<T> implements IRepository<T> {
export class FireBaseQueryable<T> extends BaseRepository<T> implements IRepository<T> {

private _repoName = '';
private _ref: database.Reference;
Expand Down Expand Up @@ -89,4 +89,4 @@ export class FireBaseQueryale<T> extends BaseRepository<T> implements IRepositor
}
}

}
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { Queryable } from './implements';
export { FireBaseQueryale, GistQueryable, LocalStorageQueryable } from './drivers';
export { FireBaseQueryable, GistQueryable, LocalStorageQueryable } from './drivers';

0 comments on commit 0511b21

Please sign in to comment.