Skip to content

Commit

Permalink
feat: rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
themakunga committed Aug 23, 2022
1 parent c5c4dc4 commit 6fa3d35
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -242,3 +242,4 @@ $RECYCLE.BIN/
*.lnk

# End of https://www.toptal.com/developers/gitignore/api/windows,linux,macos,visualstudiocode,node
lib
10 changes: 5 additions & 5 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"devDependencies": {
"@firebase/app-types": "0",
"@firebase/util": "1",
"@firebase/app-types": "^0.7.0",
"@types/jest": "^28.1.7",
"@types/node": "^18.7.6",
"@typescript-eslint/eslint-plugin": "^5.33.1",
Expand Down Expand Up @@ -47,7 +46,7 @@
}
},
"dependencies": {
"@firebase/firestore-types": "^2.5.0"
"firebase-admin": "^11.0.1"
},
"directories": {
"src": "src"
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DocumentReference, CollectionReference, DocumentData } from '@firebase/firestore-types';
import { DocumentReference, CollectionReference, DocumentData } from 'firebase-admin/firestore';

async function docRefArrayFromCollectionRef(collection: CollectionReference): Promise<Array<any>> {
const insertArr: DocumentReference[] = [];
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -366,11 +366,6 @@
"minimatch" "^3.1.2"
"strip-json-comments" "^3.1.1"

"@firebase/firestore-types@^2.5.0":
"integrity" "sha512-I6c2m1zUhZ5SH0cWPmINabDyH5w0PPFHk2UHsjBpKdZllzJZ2TwTkXbDtpHUZNmnc/zAa0WNMNMvcvbb/xJLKA=="
"resolved" "https://registry.npmjs.org/@firebase/firestore-types/-/firestore-types-2.5.0.tgz"
"version" "2.5.0"

"@gar/promisify@^1.1.3":
"integrity" "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw=="
"resolved" "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz"
Expand Down

0 comments on commit 6fa3d35

Please sign in to comment.