abstracted-database
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -63,3 +63,3 @@ import { DocumentChangeType as IFirestoreDbEvent, FirebaseFirestore } from '@firebase/firestore-types'; | ||
*/ | ||
abstract getList<T = any>(path: string | ISerializedQuery, idProp: string): Promise<T[]>; | ||
abstract getList<T = any>(path: string | ISerializedQuery, idProp?: string): Promise<T[]>; | ||
/** | ||
@@ -77,3 +77,3 @@ * Get's a push-key from the server at a given path. This ensures that | ||
*/ | ||
abstract getRecord<T = any>(path: string, idProp: string): Promise<T>; | ||
abstract getRecord<T = any>(path: string, idProp?: string): Promise<T>; | ||
/** | ||
@@ -80,0 +80,0 @@ * Returns the value at a given path in the database. This method is a |
@@ -63,3 +63,3 @@ import { DocumentChangeType as IFirestoreDbEvent, FirebaseFirestore } from '@firebase/firestore-types'; | ||
*/ | ||
abstract getList<T = any>(path: string | ISerializedQuery, idProp: string): Promise<T[]>; | ||
abstract getList<T = any>(path: string | ISerializedQuery, idProp?: string): Promise<T[]>; | ||
/** | ||
@@ -77,3 +77,3 @@ * Get's a push-key from the server at a given path. This ensures that | ||
*/ | ||
abstract getRecord<T = any>(path: string, idProp: string): Promise<T>; | ||
abstract getRecord<T = any>(path: string, idProp?: string): Promise<T>; | ||
/** | ||
@@ -80,0 +80,0 @@ * Returns the value at a given path in the database. This method is a |
{ | ||
"name": "abstracted-database", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/commonjs", |
@@ -94,3 +94,3 @@ import { | ||
path: string | ISerializedQuery, | ||
idProp: string | ||
idProp?: string | ||
): Promise<T[]>; | ||
@@ -111,3 +111,3 @@ /** | ||
path: string, | ||
idProp: string | ||
idProp?: string | ||
): Promise<T>; | ||
@@ -114,0 +114,0 @@ /** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53990