@firebase/firestore 3.4.0 → 3.4.1-canary.0db840a09
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.
- package/CHANGELOG.md +8 -0
- package/dist/firestore/compat/index.d.ts +1 -1
- package/dist/firestore/src/model/collections.d.ts +1 -1
- package/dist/firestore/src/model/document.d.ts +3 -1
- package/dist/index.esm2017.js +159 -159
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +68 -68
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +14 -21
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +14 -17
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +852 -852
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +3 -1
- package/dist/lite/firestore/compat/index.d.ts +1 -1
- package/dist/lite/firestore/src/model/collections.d.ts +1 -1
- package/dist/lite/firestore/src/model/document.d.ts +3 -1
- package/dist/lite/index.browser.esm2017.js +4 -4
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +4 -4
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +4 -4
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +4 -4
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +61 -61
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +67 -0
- package/dist/lite/packages/firestore/babel-register.d.ts +1 -0
- package/dist/lite/packages/firestore/compat/index.d.ts +1 -1
- package/dist/lite/packages/firestore/src/model/collections.d.ts +1 -1
- package/dist/lite/packages/firestore/src/model/document.d.ts +3 -1
- package/dist/lite/private.d.ts +67 -0
- package/dist/packages/firestore/babel-register.d.ts +1 -0
- package/dist/packages/firestore/compat/index.d.ts +1 -1
- package/dist/packages/firestore/dist/index.esm2017.d.ts +21 -21
- package/dist/packages/firestore/src/model/collections.d.ts +1 -1
- package/dist/packages/firestore/src/model/document.d.ts +3 -1
- package/dist/private.d.ts +3 -1
- package/package.json +10 -10
package/dist/internal.d.ts
CHANGED
|
@@ -870,6 +870,8 @@ declare interface Document_2 {
|
|
|
870
870
|
*/
|
|
871
871
|
isUnknownDocument(): boolean;
|
|
872
872
|
isEqual(other: Document_2 | null | undefined): boolean;
|
|
873
|
+
/** Creates a mutable copy of this document. */
|
|
874
|
+
mutableCopy(): MutableDocument;
|
|
873
875
|
toString(): string;
|
|
874
876
|
}
|
|
875
877
|
|
|
@@ -2646,7 +2648,7 @@ declare class MutableDocument implements Document_2 {
|
|
|
2646
2648
|
isNoDocument(): boolean;
|
|
2647
2649
|
isUnknownDocument(): boolean;
|
|
2648
2650
|
isEqual(other: Document_2 | null | undefined): boolean;
|
|
2649
|
-
|
|
2651
|
+
mutableCopy(): MutableDocument;
|
|
2650
2652
|
toString(): string;
|
|
2651
2653
|
}
|
|
2652
2654
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { FirebaseNamespace } from '@firebase/app-types';
|
|
17
|
+
import type { FirebaseNamespace } from '@firebase/app-types';
|
|
18
18
|
import * as types from '@firebase/firestore-types';
|
|
19
19
|
import './register-module';
|
|
20
20
|
/**
|
|
@@ -22,7 +22,7 @@ import { Document, MutableDocument } from './document';
|
|
|
22
22
|
import { DocumentKey } from './document_key';
|
|
23
23
|
/** Miscellaneous collection types / constants. */
|
|
24
24
|
export interface DocumentSizeEntry {
|
|
25
|
-
document:
|
|
25
|
+
document: Document;
|
|
26
26
|
size: number;
|
|
27
27
|
}
|
|
28
28
|
export declare type MutableDocumentMap = SortedMap<DocumentKey, MutableDocument>;
|
|
@@ -61,6 +61,8 @@ export interface Document {
|
|
|
61
61
|
*/
|
|
62
62
|
isUnknownDocument(): boolean;
|
|
63
63
|
isEqual(other: Document | null | undefined): boolean;
|
|
64
|
+
/** Creates a mutable copy of this document. */
|
|
65
|
+
mutableCopy(): MutableDocument;
|
|
64
66
|
toString(): string;
|
|
65
67
|
}
|
|
66
68
|
/**
|
|
@@ -124,7 +126,7 @@ export declare class MutableDocument implements Document {
|
|
|
124
126
|
isNoDocument(): boolean;
|
|
125
127
|
isUnknownDocument(): boolean;
|
|
126
128
|
isEqual(other: Document | null | undefined): boolean;
|
|
127
|
-
|
|
129
|
+
mutableCopy(): MutableDocument;
|
|
128
130
|
toString(): string;
|
|
129
131
|
}
|
|
130
132
|
/**
|
|
@@ -63,7 +63,7 @@ h.MOCK_USER = new h("mock-user");
|
|
|
63
63
|
* See the License for the specific language governing permissions and
|
|
64
64
|
* limitations under the License.
|
|
65
65
|
*/
|
|
66
|
-
let l = "9.6.
|
|
66
|
+
let l = "9.6.1-canary.0db840a09";
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* @license
|
|
@@ -2054,7 +2054,7 @@ function Ot(t, n) {
|
|
|
2054
2054
|
isEqual(t) {
|
|
2055
2055
|
return t instanceof Bt && this.key.isEqual(t.key) && this.version.isEqual(t.version) && this.documentType === t.documentType && this.documentState === t.documentState && this.data.isEqual(t.data);
|
|
2056
2056
|
}
|
|
2057
|
-
|
|
2057
|
+
mutableCopy() {
|
|
2058
2058
|
return new Bt(this.key, this.documentType, this.version, this.data.clone(), this.documentState);
|
|
2059
2059
|
}
|
|
2060
2060
|
toString() {
|
|
@@ -5923,9 +5923,9 @@ class Ur {
|
|
|
5923
5923
|
}(`${SDK_VERSION}_lite`), _registerComponent(new Component("firestore/lite", ((t, {options: n}) => {
|
|
5924
5924
|
const e = t.getProvider("app").getImmediate(), r = new se(e, new B(t.getProvider("auth-internal")), new W(t.getProvider("app-check-internal")));
|
|
5925
5925
|
return n && r._setSettings(n), r;
|
|
5926
|
-
}), "PUBLIC"
|
|
5926
|
+
}), "PUBLIC")),
|
|
5927
5927
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
5928
|
-
registerVersion("firestore-lite", "3.4.
|
|
5928
|
+
registerVersion("firestore-lite", "3.4.1-canary.0db840a09", ""), registerVersion("firestore-lite", "3.4.1-canary.0db840a09", "esm2017");
|
|
5929
5929
|
|
|
5930
5930
|
export { ge as Bytes, le as CollectionReference, ae as DocumentReference, Ye as DocumentSnapshot, ye as FieldPath, be as FieldValue, se as Firestore, L as FirestoreError, ve as GeoPoint, he as Query, Ze as QueryConstraint, He as QueryDocumentSnapshot, Ke as QuerySnapshot, _t as Timestamp, Ur as Transaction, $r as WriteBatch, Ar as addDoc, Dr as arrayRemove, Vr as arrayUnion, fe as collection, de as collectionGroup, ue as connectFirestoreEmulator, Ir as deleteDoc, Pr as deleteField, we as doc, _e as documentId, dr as endAt, fr as endBefore, br as getDoc, vr as getDocs, oe as getFirestore, Nr as increment, ie as initializeFirestore, or as limit, ur as limitToLast, sr as orderBy, tr as query, pe as queryEqual, me as refEqual, kr as runTransaction, Rr as serverTimestamp, Er as setDoc, d as setLogLevel, Je as snapshotEqual, hr as startAfter, ar as startAt, ce as terminate, Tr as updateDoc, er as where, Sr as writeBatch };
|
|
5931
5931
|
//# sourceMappingURL=index.browser.esm2017.js.map
|