@databutton/firebase-types 1.12.87 → 1.12.88
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Timestamp } from "firebase/firestore";
|
|
2
|
+
import { Timestamp as AdminTimestamp } from "firebase-admin/firestore";
|
|
2
3
|
/**
|
|
3
4
|
* Types here should reflect data format stored in firestore and
|
|
4
5
|
* either be backwards-compatible or migrated when needed
|
|
@@ -84,7 +85,7 @@ export interface CodeBlockVersion {
|
|
|
84
85
|
code: string;
|
|
85
86
|
prevCodeBlockVersionRef?: string | null;
|
|
86
87
|
createdBy?: PerformedBy;
|
|
87
|
-
createdAtUtc: Timestamp;
|
|
88
|
+
createdAtUtc: Timestamp | AdminTimestamp;
|
|
88
89
|
version: string;
|
|
89
90
|
description: string;
|
|
90
91
|
}
|