typesafe-node-firestore
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -15,2 +15,4 @@ import * as firestore from "@google-cloud/firestore"; | ||
create(data: T): Promise<firestore.WriteResult>; | ||
isEqual(other: TypedDocumentReference<T>): boolean; | ||
@@ -43,2 +45,3 @@ | ||
extends firestore.DocumentSnapshot { | ||
readonly ref: TypedDocumentReference<T>; | ||
data(options?: firestore.QuerySnapshot): T | undefined; | ||
@@ -89,2 +92,3 @@ } | ||
extends firestore.QueryDocumentSnapshot { | ||
readonly ref: TypedDocumentReference<T>; | ||
data(): T; | ||
@@ -91,0 +95,0 @@ } |
{ | ||
"name": "typesafe-node-firestore", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"license": "MIT", | ||
@@ -21,2 +21,3 @@ "repository": "github:bbangert/typesafe-node-firestore", | ||
"build": "tsc", | ||
"changelog": "conventional-changelog -i CHANGELOG.md -s -r 0", | ||
"watch": "tsc --watch", | ||
@@ -28,13 +29,13 @@ "lint": "eslint . --ext .ts,.tsx", | ||
"peerDependencies": { | ||
"@google-cloud/firestore": "^2.2.0" | ||
"@google-cloud/firestore": "^2.6.0" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^3.5.2", | ||
"@typescript-eslint/parser": "^1.11.0", | ||
"@typescript-eslint/eslint-plugin": "^1.11.0", | ||
"eslint": "^5.16.0", | ||
"typescript": "^3.7.2", | ||
"@typescript-eslint/parser": "^2.6.1", | ||
"@typescript-eslint/eslint-plugin": "^2.6.1", | ||
"eslint": "^6.6.0", | ||
"prettier": "^1.18.2", | ||
"eslint-config-prettier": "^6.0.0", | ||
"eslint-plugin-prettier": "^3.1.0", | ||
"@google-cloud/firestore": "2.2.0" | ||
"eslint-config-prettier": "^6.5.0", | ||
"eslint-plugin-prettier": "^3.1.1", | ||
"@google-cloud/firestore": "2.6.0" | ||
}, | ||
@@ -41,0 +42,0 @@ "eslintConfig": { |
@@ -7,2 +7,5 @@ # typesafe-node-firestore | ||
This library is for use with `@google-cloud/firestore`, while the library its based on is intended for the browser-based Javascript | ||
Firestore library. | ||
Based on [typesafe-firestore](https://github.com/chaseholdren/typesafe-firestore). | ||
@@ -9,0 +12,0 @@ |
19035
10
186
67