aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2018-03-21 18:43:29 -0700
committerGravatar GitHub <noreply@github.com>2018-03-21 18:43:29 -0700
commitcf630bfee60694f9bf1577972df169badda0b6e0 (patch)
tree2b815ec0e241666aa04da5e58e7c85ce23518e50 /Firestore/Source
parent5f49b2f3f9866e4db13d09857eb3b548239cc62e (diff)
Port FSTLevelDBKey to C++ (#937)
Diffstat (limited to 'Firestore/Source')
-rw-r--r--Firestore/Source/Core/FSTTypes.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Firestore/Source/Core/FSTTypes.h b/Firestore/Source/Core/FSTTypes.h
index 688b2bf..f15f463 100644
--- a/Firestore/Source/Core/FSTTypes.h
+++ b/Firestore/Source/Core/FSTTypes.h
@@ -16,15 +16,17 @@
#import <Foundation/Foundation.h>
+#include "Firestore/core/src/firebase/firestore/model/types.h"
+
NS_ASSUME_NONNULL_BEGIN
@class FSTMaybeDocument;
@class FSTTransaction;
/** FSTBatchID is a locally assigned ID for a batch of mutations that have been applied. */
-typedef int32_t FSTBatchID;
+typedef firebase::firestore::model::BatchId FSTBatchID;
-typedef int32_t FSTTargetID;
+typedef firebase::firestore::model::TargetId FSTTargetID;
typedef int64_t FSTListenSequenceNumber;