aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Example/SwiftBuildTest/main.swift
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2017-10-04 20:45:10 -0700
committerGravatar GitHub <noreply@github.com>2017-10-04 20:45:10 -0700
commit4dd7ec8e4d6243820d4f877ccfd76c5b4a076dd5 (patch)
tree0eb9d88d38dc600778a414a761fb647efdda5360 /Firestore/Example/SwiftBuildTest/main.swift
parent5496eff88f3d1c386f10a3765afa0373cff12e17 (diff)
Add an NS_SWIFT_NAME for FIRSnapshotMetadata (#334)
Fixes b/67332554 Note that this is a breaking change for Swift users of the API.
Diffstat (limited to 'Firestore/Example/SwiftBuildTest/main.swift')
-rw-r--r--Firestore/Example/SwiftBuildTest/main.swift17
1 files changed, 15 insertions, 2 deletions
diff --git a/Firestore/Example/SwiftBuildTest/main.swift b/Firestore/Example/SwiftBuildTest/main.swift
index ff6c0dd..3b8219b 100644
--- a/Firestore/Example/SwiftBuildTest/main.swift
+++ b/Firestore/Example/SwiftBuildTest/main.swift
@@ -275,10 +275,23 @@ func transactions() {
func types() {
// Just highlighting the types of everything, though devs can/will often omit them.
- let _: Firestore;
+ // This list comes from:
+ //
+ // grep -r ^FIR_SWIFT_NAME Firestore/Source/Public | sed 's/.*(/let _: /; s/)/;/'
let _: CollectionReference;
+ let _: DocumentChange;
+ let _: DocumentListenOptions;
let _: DocumentReference;
- let _: Query;
let _: DocumentSnapshot;
+ let _: FieldPath;
+ let _: FieldValue;
+ let _: Firestore;
+ let _: FirestoreSettings;
+ let _: GeoPoint;
+ let _: QueryListenOptions;
+ let _: Query;
let _: QuerySnapshot;
+ let _: SnapshotMetadata;
+ let _: Transaction;
+ let _: WriteBatch;
}