@angular/fire 16.0.0-canary.5793d6f → 16.0.0-canary.78407bc
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/README.md +200 -0
- package/analytics/firebase.d.ts +4 -1
- package/app-check/firebase.d.ts +2 -1
- package/auth/firebase.d.ts +3 -1
- package/docs/analytics.md +67 -0
- package/docs/app-check.md +53 -0
- package/docs/auth.md +165 -0
- package/docs/compat/analytics/getting-started.md +137 -0
- package/docs/compat/auth/getting-started.md +162 -0
- package/docs/compat/auth/router-guards.md +104 -0
- package/docs/compat/emulators/emulators.md +134 -0
- package/docs/compat/firestore/collections.md +326 -0
- package/docs/compat/firestore/documents.md +115 -0
- package/docs/compat/firestore/offline-data.md +39 -0
- package/docs/compat/firestore/querying-collections.md +204 -0
- package/docs/compat/functions/functions.md +166 -0
- package/docs/compat/messaging/messaging.md +232 -0
- package/docs/compat/performance/getting-started.md +132 -0
- package/docs/compat/remote-config/getting-started.md +134 -0
- package/docs/compat/rtdb/lists.md +257 -0
- package/docs/compat/rtdb/objects.md +182 -0
- package/docs/compat/rtdb/querying-lists.md +155 -0
- package/docs/compat/storage/storage.md +257 -0
- package/docs/compat.md +70 -0
- package/docs/database.md +175 -0
- package/docs/deploy/getting-started.md +204 -0
- package/docs/firebase.json +16 -0
- package/docs/firestore.md +148 -0
- package/docs/functions.md +52 -0
- package/docs/images/analytics-illo_1x.png +0 -0
- package/docs/images/auth-illo_1x.png +0 -0
- package/docs/images/cloud-messaging-illo_1x.png +0 -0
- package/docs/images/database-illo_1x.png +0 -0
- package/docs/images/firestore-illo_1x.png +0 -0
- package/docs/images/functions-illo_1x.png +0 -0
- package/docs/images/hosting-illo_1x.png +0 -0
- package/docs/images/performance-illo_1x.png +0 -0
- package/docs/images/reCAPTCHA-logo@1x.png +0 -0
- package/docs/images/remote-config-illo_1x.png +0 -0
- package/docs/images/storage-illo_1x.png +0 -0
- package/docs/install-and-setup.md +114 -0
- package/docs/install-angular-cli-windows10.md +82 -0
- package/docs/install-firebase-tools.md +78 -0
- package/docs/messaging.md +25 -0
- package/docs/performance.md +57 -0
- package/docs/remote-config.md +53 -0
- package/docs/storage.md +90 -0
- package/docs/universal/cloud-functions.md +96 -0
- package/docs/universal/getting-started.md +28 -0
- package/docs/universal/prerendering.md +72 -0
- package/docs/version-4-upgrade.md +119 -0
- package/docs/version-5-upgrade.md +82 -0
- package/docs/version-6-upgrade.md +16 -0
- package/docs/version-7-upgrade.md +298 -0
- package/esm2022/analytics/analytics.module.mjs +5 -5
- package/esm2022/analytics/firebase.mjs +5 -2
- package/esm2022/analytics/screen-tracking.service.mjs +4 -4
- package/esm2022/analytics/user-tracking.service.mjs +4 -4
- package/esm2022/app/app.module.mjs +5 -5
- package/esm2022/app-check/app-check.module.mjs +5 -5
- package/esm2022/app-check/firebase.mjs +3 -2
- package/esm2022/auth/auth.module.mjs +5 -5
- package/esm2022/auth/firebase.mjs +4 -2
- package/esm2022/auth-guard/auth-guard.mjs +4 -4
- package/esm2022/auth-guard/auth-guard.module.mjs +5 -5
- package/esm2022/compat/analytics/analytics.mjs +4 -4
- package/esm2022/compat/analytics/analytics.module.mjs +5 -5
- package/esm2022/compat/analytics/screen-tracking.service.mjs +4 -4
- package/esm2022/compat/analytics/user-tracking.service.mjs +4 -4
- package/esm2022/compat/auth/auth.mjs +4 -4
- package/esm2022/compat/auth/auth.module.mjs +5 -5
- package/esm2022/compat/auth-guard/auth-guard.mjs +4 -4
- package/esm2022/compat/auth-guard/auth-guard.module.mjs +5 -5
- package/esm2022/compat/database/database.mjs +4 -4
- package/esm2022/compat/database/database.module.mjs +5 -5
- package/esm2022/compat/firebase.app.module.mjs +5 -5
- package/esm2022/compat/firestore/firestore.mjs +4 -4
- package/esm2022/compat/firestore/firestore.module.mjs +5 -5
- package/esm2022/compat/functions/functions.mjs +4 -4
- package/esm2022/compat/functions/functions.module.mjs +5 -5
- package/esm2022/compat/messaging/messaging.mjs +4 -4
- package/esm2022/compat/messaging/messaging.module.mjs +5 -5
- package/esm2022/compat/performance/performance.mjs +4 -4
- package/esm2022/compat/performance/performance.module.mjs +5 -5
- package/esm2022/compat/performance/performance.service.mjs +4 -4
- package/esm2022/compat/remote-config/remote-config.mjs +4 -4
- package/esm2022/compat/remote-config/remote-config.module.mjs +5 -5
- package/esm2022/compat/storage/pipes/storageUrl.pipe.mjs +8 -8
- package/esm2022/compat/storage/storage.mjs +4 -4
- package/esm2022/compat/storage/storage.module.mjs +5 -5
- package/esm2022/database/database.module.mjs +5 -5
- package/esm2022/firestore/firebase.mjs +22 -3
- package/esm2022/firestore/firestore.module.mjs +5 -5
- package/esm2022/firestore/lite/firebase.mjs +11 -2
- package/esm2022/firestore/lite/lite.module.mjs +5 -5
- package/esm2022/firestore/lite/rxfire.mjs +4 -2
- package/esm2022/firestore/rxfire.mjs +4 -4
- package/esm2022/functions/functions.module.mjs +5 -5
- package/esm2022/messaging/messaging.module.mjs +5 -5
- package/esm2022/performance/performance.module.mjs +5 -5
- package/esm2022/remote-config/remote-config.module.mjs +5 -5
- package/esm2022/storage/storage.module.mjs +5 -5
- package/esm2022/zones.mjs +4 -4
- package/fesm2022/angular-fire-analytics.mjs +15 -12
- package/fesm2022/angular-fire-analytics.mjs.map +1 -1
- package/fesm2022/angular-fire-app-check.mjs +7 -6
- package/fesm2022/angular-fire-app-check.mjs.map +1 -1
- package/fesm2022/angular-fire-app.mjs +4 -4
- package/fesm2022/angular-fire-app.mjs.map +1 -1
- package/fesm2022/angular-fire-auth-guard.mjs +7 -7
- package/fesm2022/angular-fire-auth-guard.mjs.map +1 -1
- package/fesm2022/angular-fire-auth.mjs +8 -6
- package/fesm2022/angular-fire-auth.mjs.map +1 -1
- package/fesm2022/angular-fire-compat-analytics.mjs +13 -13
- package/fesm2022/angular-fire-compat-analytics.mjs.map +1 -1
- package/fesm2022/angular-fire-compat-auth-guard.mjs +7 -7
- package/fesm2022/angular-fire-compat-auth-guard.mjs.map +1 -1
- package/fesm2022/angular-fire-compat-auth.mjs +7 -7
- package/fesm2022/angular-fire-compat-auth.mjs.map +1 -1
- package/fesm2022/angular-fire-compat-database.mjs +7 -7
- package/fesm2022/angular-fire-compat-database.mjs.map +1 -1
- package/fesm2022/angular-fire-compat-firestore.mjs +7 -7
- package/fesm2022/angular-fire-compat-firestore.mjs.map +1 -1
- package/fesm2022/angular-fire-compat-functions.mjs +7 -7
- package/fesm2022/angular-fire-compat-functions.mjs.map +1 -1
- package/fesm2022/angular-fire-compat-messaging.mjs +7 -7
- package/fesm2022/angular-fire-compat-messaging.mjs.map +1 -1
- package/fesm2022/angular-fire-compat-performance.mjs +10 -10
- package/fesm2022/angular-fire-compat-performance.mjs.map +1 -1
- package/fesm2022/angular-fire-compat-remote-config.mjs +7 -7
- package/fesm2022/angular-fire-compat-remote-config.mjs.map +1 -1
- package/fesm2022/angular-fire-compat-storage.mjs +14 -14
- package/fesm2022/angular-fire-compat-storage.mjs.map +1 -1
- package/fesm2022/angular-fire-compat.mjs +4 -4
- package/fesm2022/angular-fire-compat.mjs.map +1 -1
- package/fesm2022/angular-fire-database.mjs +4 -4
- package/fesm2022/angular-fire-database.mjs.map +1 -1
- package/fesm2022/angular-fire-firestore-lite.mjs +18 -7
- package/fesm2022/angular-fire-firestore-lite.mjs.map +1 -1
- package/fesm2022/angular-fire-firestore.mjs +29 -10
- package/fesm2022/angular-fire-firestore.mjs.map +1 -1
- package/fesm2022/angular-fire-functions.mjs +4 -4
- package/fesm2022/angular-fire-functions.mjs.map +1 -1
- package/fesm2022/angular-fire-messaging.mjs +4 -4
- package/fesm2022/angular-fire-messaging.mjs.map +1 -1
- package/fesm2022/angular-fire-performance.mjs +4 -4
- package/fesm2022/angular-fire-performance.mjs.map +1 -1
- package/fesm2022/angular-fire-remote-config.mjs +4 -4
- package/fesm2022/angular-fire-remote-config.mjs.map +1 -1
- package/fesm2022/angular-fire-storage.mjs +4 -4
- package/fesm2022/angular-fire-storage.mjs.map +1 -1
- package/fesm2022/angular-fire.mjs +3 -3
- package/fesm2022/angular-fire.mjs.map +1 -1
- package/firestore/firebase.d.ts +21 -2
- package/firestore/lite/firebase.d.ts +10 -1
- package/firestore/lite/rxfire.d.ts +3 -1
- package/firestore/rxfire.d.ts +3 -3
- package/package.json +12 -12
- package/schematics/add/schema.json +16 -0
- package/schematics/builders.json +10 -0
- package/schematics/collection.json +15 -0
- package/schematics/deploy/schema.json +119 -0
- package/schematics/migration.json +15 -0
- package/schematics/setup/schema.json +16 -0
- package/publish.sh +0 -1
package/firestore/firebase.d.ts
CHANGED
|
@@ -1,22 +1,32 @@
|
|
|
1
1
|
export * from 'firebase/firestore';
|
|
2
|
-
import { addDoc as _addDoc, arrayRemove as _arrayRemove, arrayUnion as _arrayUnion, clearIndexedDbPersistence as _clearIndexedDbPersistence, collection as _collection, collectionGroup as _collectionGroup, connectFirestoreEmulator as _connectFirestoreEmulator, deleteDoc as _deleteDoc, deleteField as _deleteField, disableNetwork as _disableNetwork, doc as _doc, documentId as _documentId, enableIndexedDbPersistence as _enableIndexedDbPersistence, enableMultiTabIndexedDbPersistence as _enableMultiTabIndexedDbPersistence, enableNetwork as _enableNetwork, endAt as _endAt, endBefore as _endBefore, getDoc as _getDoc, getDocFromCache as _getDocFromCache, getDocFromServer as _getDocFromServer, getDocs as _getDocs, getDocsFromCache as _getDocsFromCache, getDocsFromServer as _getDocsFromServer, getFirestore as _getFirestore, increment as _increment, initializeFirestore as _initializeFirestore, limit as _limit, limitToLast as _limitToLast, loadBundle as _loadBundle, namedQuery as _namedQuery, onSnapshot as _onSnapshot, onSnapshotsInSync as _onSnapshotsInSync, orderBy as _orderBy, query as _query, queryEqual as _queryEqual, refEqual as _refEqual, runTransaction as _runTransaction, serverTimestamp as _serverTimestamp, setDoc as _setDoc, setLogLevel as _setLogLevel, snapshotEqual as _snapshotEqual, startAfter as _startAfter, startAt as _startAt, terminate as _terminate, updateDoc as _updateDoc, waitForPendingWrites as _waitForPendingWrites, where as _where, writeBatch as _writeBatch
|
|
2
|
+
import { addDoc as _addDoc, aggregateFieldEqual as _aggregateFieldEqual, aggregateQuerySnapshotEqual as _aggregateQuerySnapshotEqual, and as _and, arrayRemove as _arrayRemove, arrayUnion as _arrayUnion, average as _average, clearIndexedDbPersistence as _clearIndexedDbPersistence, collection as _collection, collectionGroup as _collectionGroup, connectFirestoreEmulator as _connectFirestoreEmulator, count as _count, deleteAllPersistentCacheIndexes as _deleteAllPersistentCacheIndexes, deleteDoc as _deleteDoc, deleteField as _deleteField, disableNetwork as _disableNetwork, disablePersistentCacheIndexAutoCreation as _disablePersistentCacheIndexAutoCreation, doc as _doc, documentId as _documentId, enableIndexedDbPersistence as _enableIndexedDbPersistence, enableMultiTabIndexedDbPersistence as _enableMultiTabIndexedDbPersistence, enableNetwork as _enableNetwork, enablePersistentCacheIndexAutoCreation as _enablePersistentCacheIndexAutoCreation, endAt as _endAt, endBefore as _endBefore, getAggregateFromServer as _getAggregateFromServer, getCountFromServer as _getCountFromServer, getDoc as _getDoc, getDocFromCache as _getDocFromCache, getDocFromServer as _getDocFromServer, getDocs as _getDocs, getDocsFromCache as _getDocsFromCache, getDocsFromServer as _getDocsFromServer, getFirestore as _getFirestore, getPersistentCacheIndexManager as _getPersistentCacheIndexManager, increment as _increment, initializeFirestore as _initializeFirestore, limit as _limit, limitToLast as _limitToLast, loadBundle as _loadBundle, memoryEagerGarbageCollector as _memoryEagerGarbageCollector, memoryLocalCache as _memoryLocalCache, memoryLruGarbageCollector as _memoryLruGarbageCollector, namedQuery as _namedQuery, onSnapshot as _onSnapshot, onSnapshotsInSync as _onSnapshotsInSync, or as _or, orderBy as _orderBy, persistentLocalCache as _persistentLocalCache, persistentMultipleTabManager as _persistentMultipleTabManager, persistentSingleTabManager as _persistentSingleTabManager, query as _query, queryEqual as _queryEqual, refEqual as _refEqual, runTransaction as _runTransaction, serverTimestamp as _serverTimestamp, setDoc as _setDoc, setIndexConfiguration as _setIndexConfiguration, setLogLevel as _setLogLevel, snapshotEqual as _snapshotEqual, startAfter as _startAfter, startAt as _startAt, sum as _sum, terminate as _terminate, updateDoc as _updateDoc, waitForPendingWrites as _waitForPendingWrites, where as _where, writeBatch as _writeBatch } from 'firebase/firestore';
|
|
3
3
|
export declare const addDoc: typeof _addDoc;
|
|
4
|
+
export declare const aggregateFieldEqual: typeof _aggregateFieldEqual;
|
|
5
|
+
export declare const aggregateQuerySnapshotEqual: typeof _aggregateQuerySnapshotEqual;
|
|
6
|
+
export declare const and: typeof _and;
|
|
4
7
|
export declare const arrayRemove: typeof _arrayRemove;
|
|
5
8
|
export declare const arrayUnion: typeof _arrayUnion;
|
|
9
|
+
export declare const average: typeof _average;
|
|
6
10
|
export declare const clearIndexedDbPersistence: typeof _clearIndexedDbPersistence;
|
|
7
11
|
export declare const collection: typeof _collection;
|
|
8
12
|
export declare const collectionGroup: typeof _collectionGroup;
|
|
9
13
|
export declare const connectFirestoreEmulator: typeof _connectFirestoreEmulator;
|
|
14
|
+
export declare const count: typeof _count;
|
|
15
|
+
export declare const deleteAllPersistentCacheIndexes: typeof _deleteAllPersistentCacheIndexes;
|
|
10
16
|
export declare const deleteDoc: typeof _deleteDoc;
|
|
11
17
|
export declare const deleteField: typeof _deleteField;
|
|
12
18
|
export declare const disableNetwork: typeof _disableNetwork;
|
|
19
|
+
export declare const disablePersistentCacheIndexAutoCreation: typeof _disablePersistentCacheIndexAutoCreation;
|
|
13
20
|
export declare const doc: typeof _doc;
|
|
14
21
|
export declare const documentId: typeof _documentId;
|
|
15
22
|
export declare const enableIndexedDbPersistence: typeof _enableIndexedDbPersistence;
|
|
16
23
|
export declare const enableMultiTabIndexedDbPersistence: typeof _enableMultiTabIndexedDbPersistence;
|
|
17
24
|
export declare const enableNetwork: typeof _enableNetwork;
|
|
25
|
+
export declare const enablePersistentCacheIndexAutoCreation: typeof _enablePersistentCacheIndexAutoCreation;
|
|
18
26
|
export declare const endAt: typeof _endAt;
|
|
19
27
|
export declare const endBefore: typeof _endBefore;
|
|
28
|
+
export declare const getAggregateFromServer: typeof _getAggregateFromServer;
|
|
29
|
+
export declare const getCountFromServer: typeof _getCountFromServer;
|
|
20
30
|
export declare const getDoc: typeof _getDoc;
|
|
21
31
|
export declare const getDocFromCache: typeof _getDocFromCache;
|
|
22
32
|
export declare const getDocFromServer: typeof _getDocFromServer;
|
|
@@ -24,28 +34,37 @@ export declare const getDocs: typeof _getDocs;
|
|
|
24
34
|
export declare const getDocsFromCache: typeof _getDocsFromCache;
|
|
25
35
|
export declare const getDocsFromServer: typeof _getDocsFromServer;
|
|
26
36
|
export declare const getFirestore: typeof _getFirestore;
|
|
37
|
+
export declare const getPersistentCacheIndexManager: typeof _getPersistentCacheIndexManager;
|
|
27
38
|
export declare const increment: typeof _increment;
|
|
28
39
|
export declare const initializeFirestore: typeof _initializeFirestore;
|
|
29
40
|
export declare const limit: typeof _limit;
|
|
30
41
|
export declare const limitToLast: typeof _limitToLast;
|
|
31
42
|
export declare const loadBundle: typeof _loadBundle;
|
|
43
|
+
export declare const memoryEagerGarbageCollector: typeof _memoryEagerGarbageCollector;
|
|
44
|
+
export declare const memoryLocalCache: typeof _memoryLocalCache;
|
|
45
|
+
export declare const memoryLruGarbageCollector: typeof _memoryLruGarbageCollector;
|
|
32
46
|
export declare const namedQuery: typeof _namedQuery;
|
|
33
47
|
export declare const onSnapshot: typeof _onSnapshot;
|
|
34
48
|
export declare const onSnapshotsInSync: typeof _onSnapshotsInSync;
|
|
49
|
+
export declare const or: typeof _or;
|
|
35
50
|
export declare const orderBy: typeof _orderBy;
|
|
51
|
+
export declare const persistentLocalCache: typeof _persistentLocalCache;
|
|
52
|
+
export declare const persistentMultipleTabManager: typeof _persistentMultipleTabManager;
|
|
53
|
+
export declare const persistentSingleTabManager: typeof _persistentSingleTabManager;
|
|
36
54
|
export declare const query: typeof _query;
|
|
37
55
|
export declare const queryEqual: typeof _queryEqual;
|
|
38
56
|
export declare const refEqual: typeof _refEqual;
|
|
39
57
|
export declare const runTransaction: typeof _runTransaction;
|
|
40
58
|
export declare const serverTimestamp: typeof _serverTimestamp;
|
|
41
59
|
export declare const setDoc: typeof _setDoc;
|
|
60
|
+
export declare const setIndexConfiguration: typeof _setIndexConfiguration;
|
|
42
61
|
export declare const setLogLevel: typeof _setLogLevel;
|
|
43
62
|
export declare const snapshotEqual: typeof _snapshotEqual;
|
|
44
63
|
export declare const startAfter: typeof _startAfter;
|
|
45
64
|
export declare const startAt: typeof _startAt;
|
|
65
|
+
export declare const sum: typeof _sum;
|
|
46
66
|
export declare const terminate: typeof _terminate;
|
|
47
67
|
export declare const updateDoc: typeof _updateDoc;
|
|
48
68
|
export declare const waitForPendingWrites: typeof _waitForPendingWrites;
|
|
49
69
|
export declare const where: typeof _where;
|
|
50
70
|
export declare const writeBatch: typeof _writeBatch;
|
|
51
|
-
export declare const getCountFromServer: typeof _getCountFromServer;
|
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
export * from 'firebase/firestore/lite';
|
|
2
|
-
import { addDoc as _addDoc, arrayRemove as _arrayRemove, arrayUnion as _arrayUnion, collection as _collection, collectionGroup as _collectionGroup, connectFirestoreEmulator as _connectFirestoreEmulator, deleteDoc as _deleteDoc, deleteField as _deleteField, doc as _doc, documentId as _documentId, endAt as _endAt, endBefore as _endBefore, getDoc as _getDoc, getDocs as _getDocs, getFirestore as _getFirestore, increment as _increment, initializeFirestore as _initializeFirestore, limit as _limit, limitToLast as _limitToLast, orderBy as _orderBy, query as _query, queryEqual as _queryEqual, refEqual as _refEqual, runTransaction as _runTransaction, serverTimestamp as _serverTimestamp, setDoc as _setDoc, setLogLevel as _setLogLevel, snapshotEqual as _snapshotEqual, startAfter as _startAfter, startAt as _startAt, terminate as _terminate, updateDoc as _updateDoc, where as _where, writeBatch as _writeBatch } from 'firebase/firestore/lite';
|
|
2
|
+
import { addDoc as _addDoc, aggregateFieldEqual as _aggregateFieldEqual, aggregateQuerySnapshotEqual as _aggregateQuerySnapshotEqual, and as _and, arrayRemove as _arrayRemove, arrayUnion as _arrayUnion, average as _average, collection as _collection, collectionGroup as _collectionGroup, connectFirestoreEmulator as _connectFirestoreEmulator, count as _count, deleteDoc as _deleteDoc, deleteField as _deleteField, doc as _doc, documentId as _documentId, endAt as _endAt, endBefore as _endBefore, getAggregate as _getAggregate, getCount as _getCount, getDoc as _getDoc, getDocs as _getDocs, getFirestore as _getFirestore, increment as _increment, initializeFirestore as _initializeFirestore, limit as _limit, limitToLast as _limitToLast, or as _or, orderBy as _orderBy, query as _query, queryEqual as _queryEqual, refEqual as _refEqual, runTransaction as _runTransaction, serverTimestamp as _serverTimestamp, setDoc as _setDoc, setLogLevel as _setLogLevel, snapshotEqual as _snapshotEqual, startAfter as _startAfter, startAt as _startAt, sum as _sum, terminate as _terminate, updateDoc as _updateDoc, where as _where, writeBatch as _writeBatch } from 'firebase/firestore/lite';
|
|
3
3
|
export declare const addDoc: typeof _addDoc;
|
|
4
|
+
export declare const aggregateFieldEqual: typeof _aggregateFieldEqual;
|
|
5
|
+
export declare const aggregateQuerySnapshotEqual: typeof _aggregateQuerySnapshotEqual;
|
|
6
|
+
export declare const and: typeof _and;
|
|
4
7
|
export declare const arrayRemove: typeof _arrayRemove;
|
|
5
8
|
export declare const arrayUnion: typeof _arrayUnion;
|
|
9
|
+
export declare const average: typeof _average;
|
|
6
10
|
export declare const collection: typeof _collection;
|
|
7
11
|
export declare const collectionGroup: typeof _collectionGroup;
|
|
8
12
|
export declare const connectFirestoreEmulator: typeof _connectFirestoreEmulator;
|
|
13
|
+
export declare const count: typeof _count;
|
|
9
14
|
export declare const deleteDoc: typeof _deleteDoc;
|
|
10
15
|
export declare const deleteField: typeof _deleteField;
|
|
11
16
|
export declare const doc: typeof _doc;
|
|
12
17
|
export declare const documentId: typeof _documentId;
|
|
13
18
|
export declare const endAt: typeof _endAt;
|
|
14
19
|
export declare const endBefore: typeof _endBefore;
|
|
20
|
+
export declare const getAggregate: typeof _getAggregate;
|
|
21
|
+
export declare const getCount: typeof _getCount;
|
|
15
22
|
export declare const getDoc: typeof _getDoc;
|
|
16
23
|
export declare const getDocs: typeof _getDocs;
|
|
17
24
|
export declare const getFirestore: typeof _getFirestore;
|
|
@@ -19,6 +26,7 @@ export declare const increment: typeof _increment;
|
|
|
19
26
|
export declare const initializeFirestore: typeof _initializeFirestore;
|
|
20
27
|
export declare const limit: typeof _limit;
|
|
21
28
|
export declare const limitToLast: typeof _limitToLast;
|
|
29
|
+
export declare const or: typeof _or;
|
|
22
30
|
export declare const orderBy: typeof _orderBy;
|
|
23
31
|
export declare const query: typeof _query;
|
|
24
32
|
export declare const queryEqual: typeof _queryEqual;
|
|
@@ -30,6 +38,7 @@ export declare const setLogLevel: typeof _setLogLevel;
|
|
|
30
38
|
export declare const snapshotEqual: typeof _snapshotEqual;
|
|
31
39
|
export declare const startAfter: typeof _startAfter;
|
|
32
40
|
export declare const startAt: typeof _startAt;
|
|
41
|
+
export declare const sum: typeof _sum;
|
|
33
42
|
export declare const terminate: typeof _terminate;
|
|
34
43
|
export declare const updateDoc: typeof _updateDoc;
|
|
35
44
|
export declare const where: typeof _where;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { collection as _collection, collectionData as _collectionData, doc as _doc, docData as _docData, snapToData as _snapToData, fromRef as _fromRef } from 'rxfire/firestore/lite';
|
|
1
|
+
import { collection as _collection, collectionData as _collectionData, collectionCountSnap as _collectionCountSnap, collectionCount as _collectionCount, doc as _doc, docData as _docData, snapToData as _snapToData, fromRef as _fromRef } from 'rxfire/firestore/lite';
|
|
2
2
|
export declare const collectionSnapshots: typeof _collection;
|
|
3
3
|
export declare const collectionData: typeof _collectionData;
|
|
4
|
+
export declare const collectionCountSnap: typeof _collectionCountSnap;
|
|
5
|
+
export declare const collectionCount: typeof _collectionCount;
|
|
4
6
|
export declare const docSnapshots: typeof _doc;
|
|
5
7
|
export declare const docData: typeof _docData;
|
|
6
8
|
export declare const snapToData: typeof _snapToData;
|
package/firestore/rxfire.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { collectionChanges as _collectionChanges, collection as _collection, sortedChanges as _sortedChanges, auditTrail as _auditTrail, collectionData as _collectionData,
|
|
1
|
+
import { collectionChanges as _collectionChanges, collection as _collection, sortedChanges as _sortedChanges, auditTrail as _auditTrail, collectionData as _collectionData, collectionCountSnap as _collectionCountSnap, collectionCount as _collectionCount, doc as _doc, docData as _docData, snapToData as _snapToData, fromRef as _fromRef } from 'rxfire/firestore';
|
|
2
2
|
export declare const collectionChanges: typeof _collectionChanges;
|
|
3
3
|
export declare const collectionSnapshots: typeof _collection;
|
|
4
4
|
export declare const sortedChanges: typeof _sortedChanges;
|
|
5
5
|
export declare const auditTrail: typeof _auditTrail;
|
|
6
6
|
export declare const collectionData: typeof _collectionData;
|
|
7
|
+
export declare const collectionCountSnap: typeof _collectionCountSnap;
|
|
8
|
+
export declare const collectionCount: typeof _collectionCount;
|
|
7
9
|
export declare const docSnapshots: typeof _doc;
|
|
8
10
|
export declare const docData: typeof _docData;
|
|
9
11
|
export declare const snapToData: typeof _snapToData;
|
|
10
12
|
export declare const fromRef: typeof _fromRef;
|
|
11
|
-
export declare const collectionCount: typeof _collectionCount;
|
|
12
|
-
export declare const collectionCountSnap: typeof _collectionCountSnap;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "../node_modules/ng-packagr/package.schema.json",
|
|
3
3
|
"name": "@angular/fire",
|
|
4
|
-
"version": "16.0.0-canary.
|
|
5
|
-
"description": "
|
|
4
|
+
"version": "16.0.0-canary.78407bc",
|
|
5
|
+
"description": "Angular + Firebase = ❤️",
|
|
6
6
|
"schematics": "./schematics/collection.json",
|
|
7
7
|
"builders": "./schematics/builders.json",
|
|
8
8
|
"keywords": [
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"author": "angular,firebase",
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@angular/common": "^
|
|
27
|
-
"@angular/core": "^
|
|
28
|
-
"@angular/platform-browser": "^
|
|
29
|
-
"@angular/platform-browser-dynamic": "^
|
|
30
|
-
"rxjs": "
|
|
31
|
-
"firebase-tools": "^
|
|
26
|
+
"@angular/common": "^16.0.0",
|
|
27
|
+
"@angular/core": "^16.0.0",
|
|
28
|
+
"@angular/platform-browser": "^16.0.0",
|
|
29
|
+
"@angular/platform-browser-dynamic": "^16.0.0",
|
|
30
|
+
"rxjs": "^6.5.3 || ^7.4.0",
|
|
31
|
+
"firebase-tools": "^12.0.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependenciesMeta": {
|
|
34
34
|
"firebase-tools": {
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"firebase": "^
|
|
40
|
-
"rxfire": "^6.0.
|
|
41
|
-
"@angular-devkit/schematics": "^
|
|
42
|
-
"@schematics/angular": "^
|
|
39
|
+
"firebase": "^10.5.0",
|
|
40
|
+
"rxfire": "^6.0.5",
|
|
41
|
+
"@angular-devkit/schematics": "^16.0.0",
|
|
42
|
+
"@schematics/angular": "^16.0.0",
|
|
43
43
|
"tslib": "^2.0.0",
|
|
44
44
|
"fuzzy": "^0.1.3",
|
|
45
45
|
"inquirer-autocomplete-prompt": "^1.0.1",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "angular-fire-ng-add",
|
|
4
|
+
"title": "AngularFire ng-add",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"project": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "The name of the project.",
|
|
10
|
+
"$default": {
|
|
11
|
+
"$source": "projectName"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": []
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
|
+
"schematics": {
|
|
4
|
+
"ng-add": {
|
|
5
|
+
"description": "Add firebase deploy schematic",
|
|
6
|
+
"factory": "./add#ngAdd",
|
|
7
|
+
"schema": "./add/schema.json"
|
|
8
|
+
},
|
|
9
|
+
"ng-add-setup-project": {
|
|
10
|
+
"description": "Setup ng deploy",
|
|
11
|
+
"factory": "./setup#ngAddSetupProject",
|
|
12
|
+
"schema": "./setup/schema.json"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "FirebaseDeploySchema",
|
|
4
|
+
"title": "Firebase Deploy",
|
|
5
|
+
"description": "Ng Deploy target options for Firebase.",
|
|
6
|
+
"properties": {
|
|
7
|
+
"buildTarget": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Target to build.",
|
|
10
|
+
"pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
|
|
11
|
+
},
|
|
12
|
+
"browserTarget": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Target to build.",
|
|
15
|
+
"pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
|
|
16
|
+
},
|
|
17
|
+
"prerenderTarget": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "Target to build.",
|
|
20
|
+
"pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
|
|
21
|
+
},
|
|
22
|
+
"serverTarget": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Target to build.",
|
|
25
|
+
"pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
|
|
26
|
+
},
|
|
27
|
+
"universalBuildTarget": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "Target to build.",
|
|
30
|
+
"pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
|
|
31
|
+
},
|
|
32
|
+
"ssr": {
|
|
33
|
+
"oneOf": [{ "type": "boolean" }, { "type": "string" }],
|
|
34
|
+
"description": "Should we attempt to deploy the function to Cloud Functions (true or 'cloud-functions') / Cloud Run ('cloud-run') or just Hosting (false)"
|
|
35
|
+
},
|
|
36
|
+
"prerender": {
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"description": "Prerender before deploy?"
|
|
39
|
+
},
|
|
40
|
+
"firebaseProject": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"description": "The Firebase project name or project alias to use when deploying"
|
|
43
|
+
},
|
|
44
|
+
"target": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"description": "The Firebase hosting target in firebase.json for multi-site"
|
|
47
|
+
},
|
|
48
|
+
"firebaseHostingSite": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"description": "The Firebase Hosting site to deploy to"
|
|
51
|
+
},
|
|
52
|
+
"functionName": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "The name of the Cloud Function or Cloud Run serviceId to deploy SSR to"
|
|
55
|
+
},
|
|
56
|
+
"functionsNodeVersion": {
|
|
57
|
+
"oneOf": [{ "type": "number" }, { "type": "string" }],
|
|
58
|
+
"description": "Version of Node.js to run Cloud Functions / Run on"
|
|
59
|
+
},
|
|
60
|
+
"CF3v2": {
|
|
61
|
+
"type": "boolean",
|
|
62
|
+
"description": "Generation of the Functions product to run on"
|
|
63
|
+
},
|
|
64
|
+
"region": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"description": "The region to deploy Cloud Functions or Cloud Run to"
|
|
67
|
+
},
|
|
68
|
+
"outputPath": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"description": "Where to output the deploy artifacts"
|
|
71
|
+
},
|
|
72
|
+
"functionsRuntimeOptions": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"description": "Runtime options for Cloud Functions, if deploying to Cloud Functions"
|
|
75
|
+
},
|
|
76
|
+
"preview": {
|
|
77
|
+
"type": "boolean",
|
|
78
|
+
"description": "Do not deploy the application, just set up the Firebase Function in the project output directory. Can be used for testing the Firebase Function with `firebase serve`."
|
|
79
|
+
},
|
|
80
|
+
"cloudRunOptions": {
|
|
81
|
+
"type": "object",
|
|
82
|
+
"description": "Options passed to Cloud Run, if deploying to Cloud Run.",
|
|
83
|
+
"properties": {
|
|
84
|
+
"cpus": {
|
|
85
|
+
"type": "number",
|
|
86
|
+
"description": "Set a CPU limit in Kubernetes cpu units."
|
|
87
|
+
},
|
|
88
|
+
"maxConcurrency": {
|
|
89
|
+
"oneOf": [{ "type": "number" }, { "type": "string" }],
|
|
90
|
+
"pattern": "^(\\d+|default)$",
|
|
91
|
+
"description": "Set the maximum number of concurrent requests allowed per container instance. If concurrency is unspecified, any number of concurrent requests are allowed. To unset this field, provide the special value default."
|
|
92
|
+
},
|
|
93
|
+
"maxInstances": {
|
|
94
|
+
"oneOf": [{ "type": "number" }, { "type": "string" }],
|
|
95
|
+
"pattern": "^(\\d+|default)$",
|
|
96
|
+
"description": "The maximum number of container instances of the Service to run. Use 'default' to unset the limit and use the platform default."
|
|
97
|
+
},
|
|
98
|
+
"memory": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"pattern": "^\\d+(G|M)i$",
|
|
101
|
+
"description": "Set a memory limit. Ex: 1Gi, 512Mi."
|
|
102
|
+
},
|
|
103
|
+
"minInstances": {
|
|
104
|
+
"oneOf": [{ "type": "number" }, { "type": "string" }],
|
|
105
|
+
"pattern": "^(\\d+|default)$",
|
|
106
|
+
"description": "The minimum number of container instances of the Service to run or 'default' to remove any minimum."
|
|
107
|
+
},
|
|
108
|
+
"timeout": {
|
|
109
|
+
"type": "number",
|
|
110
|
+
"description": "Set the maximum request execution time (timeout) in seconds."
|
|
111
|
+
},
|
|
112
|
+
"vpcConnector": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"description": "Set a VPC connector for this resource."
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
|
+
"schematics": {
|
|
4
|
+
"migration-v7": {
|
|
5
|
+
"version": "7.0.0",
|
|
6
|
+
"description": "Update @angular/fire to v7",
|
|
7
|
+
"factory": "./update/v7#ngUpdate"
|
|
8
|
+
},
|
|
9
|
+
"ng-post-upgate": {
|
|
10
|
+
"description": "Print out results after ng-update",
|
|
11
|
+
"factory": "./update#ngPostUpdate",
|
|
12
|
+
"private": true
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "angular-fire-ng-add",
|
|
4
|
+
"title": "AngularFire ng-add",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"project": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "The name of the project.",
|
|
10
|
+
"$default": {
|
|
11
|
+
"$source": "projectName"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": []
|
|
16
|
+
}
|
package/publish.sh
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
npm publish . --tag canary
|