@@ -40,37 +40,37 @@ import { FieldValue } from '../api/field_value';
40
40
41
41
// Public instance that disallows construction at runtime. Note that this still
42
42
// allows instanceof checks.
43
- const PublicFirestore = makeConstructorPrivate (
43
+ export const PublicFirestore = makeConstructorPrivate (
44
44
Firestore ,
45
45
'Use firebase.firestore() instead.'
46
46
) ;
47
- const PublicTransaction = makeConstructorPrivate (
47
+ export const PublicTransaction = makeConstructorPrivate (
48
48
Transaction ,
49
49
'Use firebase.firestore().runTransaction() instead.'
50
50
) ;
51
- const PublicWriteBatch = makeConstructorPrivate (
51
+ export const PublicWriteBatch = makeConstructorPrivate (
52
52
WriteBatch ,
53
53
'Use firebase.firestore().batch() instead.'
54
54
) ;
55
- const PublicDocumentReference = makeConstructorPrivate (
55
+ export const PublicDocumentReference = makeConstructorPrivate (
56
56
DocumentReference ,
57
57
'Use firebase.firestore().doc() instead.'
58
58
) ;
59
- const PublicDocumentSnapshot = makeConstructorPrivate ( DocumentSnapshot ) ;
60
- const PublicQueryDocumentSnapshot = makeConstructorPrivate (
59
+ export const PublicDocumentSnapshot = makeConstructorPrivate ( DocumentSnapshot ) ;
60
+ export const PublicQueryDocumentSnapshot = makeConstructorPrivate (
61
61
QueryDocumentSnapshot
62
62
) ;
63
- const PublicQuery = makeConstructorPrivate ( Query ) ;
64
- const PublicQuerySnapshot = makeConstructorPrivate ( QuerySnapshot ) ;
65
- const PublicCollectionReference = makeConstructorPrivate (
63
+ export const PublicQuery = makeConstructorPrivate ( Query ) ;
64
+ export const PublicQuerySnapshot = makeConstructorPrivate ( QuerySnapshot ) ;
65
+ export const PublicCollectionReference = makeConstructorPrivate (
66
66
CollectionReference ,
67
67
'Use firebase.firestore().collection() instead.'
68
68
) ;
69
- const PublicFieldValue = makeConstructorPrivate (
69
+ export const PublicFieldValue = makeConstructorPrivate (
70
70
FieldValue ,
71
71
'Use FieldValue.<field>() instead.'
72
72
) ;
73
- const PublicBlob = makeConstructorPrivate (
73
+ export const PublicBlob = makeConstructorPrivate (
74
74
Blob ,
75
75
'Use Blob.fromUint8Array() or Blob.fromBase64String() instead.'
76
76
) ;
0 commit comments