@angular/fire 17.1.0-canary.1302e3a → 17.1.0-canary.827a717
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/docs/analytics.md +3 -9
- package/docs/app-check.md +5 -4
- package/docs/database.md +1 -1
- package/docs/firestore.md +8 -1
- package/docs/functions.md +4 -3
- package/docs/performance.md +3 -7
- package/docs/remote-config.md +3 -3
- package/docs/storage.md +1 -1
- package/package.json +1 -1
package/docs/analytics.md
CHANGED
|
@@ -54,14 +54,8 @@ export class UserProfileComponent {
|
|
|
54
54
|
|
|
55
55
|
## Firebase API
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
### ScreenTrackingService
|
|
62
|
-
|
|
63
|
-
Coming soon, for now [please review the documentation](https://firebase.google.com/docs/analytics/screenviews)
|
|
64
|
-
|
|
65
|
-
### UserTrackingService
|
|
66
|
-
Coming soon
|
|
59
|
+
Update the imports from `import { ... } from 'firebase/analytics'` to `import { ... } from '@angular/fire/analytics'` and follow the official documentation.
|
|
67
60
|
|
|
61
|
+
[Getting Started](https://firebase.google.com/docs/analytics/get-started?platform=web) | [API Reference](https://firebase.google.com/docs/reference/js/analytics)
|
package/docs/app-check.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<small>
|
|
2
|
-
<a href="https://github.com/angular/angularfire">AngularFire</a> ❱ <a href="../README.md#developer-guide">Developer Guide</a> ❱
|
|
2
|
+
<a href="https://github.com/angular/angularfire">AngularFire</a> ❱ <a href="../README.md#developer-guide">Developer Guide</a> ❱ App Check
|
|
3
3
|
</small>
|
|
4
4
|
|
|
5
5
|
<img align="right" width="30%" src="images/reCAPTCHA-logo@1x.png">
|
|
@@ -47,7 +47,8 @@ export class AppCheckComponent {
|
|
|
47
47
|
|
|
48
48
|
## Firebase API
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
Update the imports from `import { ... } from 'firebase/app-check'` to `import { ... } from '@angular/fire/app-check'` and follow the official documentation.
|
|
53
|
+
|
|
54
|
+
[Getting Started](https://firebase.google.com/docs/app-check/web/recaptcha-enterprise-provider) | [API Reference](https://firebase.google.com/docs/reference/js/app-check)
|
package/docs/database.md
CHANGED
|
@@ -50,7 +50,7 @@ extend class DepartmentComponent {
|
|
|
50
50
|
|
|
51
51
|
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
|
|
52
52
|
|
|
53
|
-
Just change your imports from `import { ... } from 'firebase/database'` to `import { ... } from '@angular/fire/database'` and follow the
|
|
53
|
+
Just change your imports from `import { ... } from 'firebase/database'` to `import { ... } from '@angular/fire/database'` and follow the official documentation.
|
|
54
54
|
|
|
55
55
|
[Getting Started](https://firebase.google.com/docs/database/web/start) | [API Reference](https://firebase.google.com/docs/reference/js/database)
|
|
56
56
|
|
package/docs/firestore.md
CHANGED
|
@@ -56,9 +56,15 @@ export class UserProfileComponent {
|
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
## Firebase API
|
|
59
|
-
|
|
59
|
+
|
|
60
|
+
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
|
|
61
|
+
|
|
62
|
+
Update the imports from `import { ... } from 'firebase/firestore'` to `import { ... } from '@angular/fire/firestore'` and follow the official documentation.
|
|
63
|
+
|
|
64
|
+
[Getting Started](https://firebase.google.com/docs/firestore/quickstart#web-modular-api) | [API Reference](https://firebase.google.com/docs/reference/js/firestore)
|
|
60
65
|
|
|
61
66
|
### Reading data
|
|
67
|
+
|
|
62
68
|
In Cloud Firestore data is stored in `documents` and `documents` are stored in `collections`. The path to data follows `<collection_name>/<document_id>` and continues if there are subcollections. For example, `"users/ABC12345/posts/XYZ6789"` represents:
|
|
63
69
|
* `users` collection
|
|
64
70
|
* document id `ABC12345`
|
|
@@ -111,6 +117,7 @@ export Interface UserProfile {
|
|
|
111
117
|
The `async` pipe handles unsubscribing from observables.
|
|
112
118
|
|
|
113
119
|
### Writing data
|
|
120
|
+
|
|
114
121
|
To write to Cloud Firestore use the `addDoc` function. It will create a new document at the path specified by the collection. In `user-profile.component.ts`, we'll update the code to add a new document on a `<button>` click.
|
|
115
122
|
|
|
116
123
|
|
package/docs/functions.md
CHANGED
|
@@ -45,8 +45,9 @@ export class AppComponent {
|
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## Firebase API
|
|
48
|
-
The [Firebase API for Cloud Functions documentation](https://firebase.google.com/docs/reference/js/functions) is available on the Firebase website.
|
|
49
48
|
|
|
50
|
-
|
|
49
|
+
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
|
|
51
50
|
|
|
52
|
-
|
|
51
|
+
Update the imports from `import { ... } from 'firebase/functions'` to `import { ... } from '@angular/fire/functions'` and follow the official documentation.
|
|
52
|
+
|
|
53
|
+
[Call functions from your app](https://firebase.google.com/docs/functions/callable?gen=2nd#web-modular-api) | [API Reference](https://firebase.google.com/docs/reference/js/functions)
|
package/docs/performance.md
CHANGED
|
@@ -46,12 +46,8 @@ export class PerformanceComponent {
|
|
|
46
46
|
|
|
47
47
|
## Firebase API
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
Update the imports from `import { ... } from 'firebase/performance'` to `import { ... } from '@angular/fire/performance'` and follow the official documentation.
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
## Convenience observables
|
|
56
|
-
|
|
57
|
-
Coming soon.
|
|
53
|
+
[Getting Started](https://firebase.google.com/docs/perf-mon/get-started-web) | [API Reference](https://firebase.google.com/docs/reference/js/performance)
|
package/docs/remote-config.md
CHANGED
|
@@ -46,8 +46,8 @@ export class RemoteConfigComponent {
|
|
|
46
46
|
|
|
47
47
|
## Firebase API
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
Update the imports from `import { ... } from 'firebase/remote-config'` to `import { ... } from '@angular/fire/remote-config'` and follow the official documentation.
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
[Getting Started](https://firebase.google.com/docs/remote-config/get-started?platform=web) | [API Reference](https://firebase.google.com/docs/reference/js/remote-config)
|
package/docs/storage.md
CHANGED
|
@@ -51,7 +51,7 @@ export class StorageComponent {
|
|
|
51
51
|
|
|
52
52
|
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
|
|
53
53
|
|
|
54
|
-
Update the imports from `import { ... } from 'firebase/storage'` to `import { ... } from '@angular/fire/storage'` and follow the
|
|
54
|
+
Update the imports from `import { ... } from 'firebase/storage'` to `import { ... } from '@angular/fire/storage'` and follow the official documentation.
|
|
55
55
|
|
|
56
56
|
[Getting Started](https://firebase.google.com/docs/storage/web/start) | [API Reference](https://firebase.google.com/docs/reference/js/storage)
|
|
57
57
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "../node_modules/ng-packagr/package.schema.json",
|
|
3
3
|
"name": "@angular/fire",
|
|
4
|
-
"version": "17.1.0-canary.
|
|
4
|
+
"version": "17.1.0-canary.827a717",
|
|
5
5
|
"description": "Angular + Firebase = ❤️",
|
|
6
6
|
"schematics": "./schematics/collection.json",
|
|
7
7
|
"builders": "./schematics/builders.json",
|