flit-models 3.0.6 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14,9 +14,9 @@ export declare abstract class FlitModelsDependencyInjection {
|
|
|
14
14
|
private static _firestoreTimestampFromDateConstructor;
|
|
15
15
|
private static _firestoreTimestampFromMillsConstructor;
|
|
16
16
|
static inject({ firestoreDocumentReferenceFromPath, firestoreTimestampFromDateConstructor, firestoreTimestampFromMillsConstructor, }: {
|
|
17
|
-
firestoreDocumentReferenceFromPath: (path: string) => FirebaseDocumentReferenceGeneric;
|
|
18
|
-
firestoreTimestampFromDateConstructor: (date: Date) => FirebaseTimestampGeneric;
|
|
19
|
-
firestoreTimestampFromMillsConstructor: (milliseconds: number) => FirebaseTimestampGeneric;
|
|
17
|
+
firestoreDocumentReferenceFromPath: (path: string) => FirebaseDocumentReferenceGeneric | null;
|
|
18
|
+
firestoreTimestampFromDateConstructor: (date: Date) => FirebaseTimestampGeneric | null;
|
|
19
|
+
firestoreTimestampFromMillsConstructor: (milliseconds: number) => FirebaseTimestampGeneric | null;
|
|
20
20
|
}, enableReinject?: boolean): void;
|
|
21
21
|
static DocumentReferenceFromPath(path: string): firebase.firestore.DocumentReference<firebase.firestore.DocumentData> | DocumentReference<import("@firebase/firestore").DocumentData> | DocumentReferenceAdmin<FirebaseFirestore.DocumentData>;
|
|
22
22
|
static TimestampFromDate(date: Date): FirebaseTimestampGeneric;
|