@stevenkellner/team-conduct-api 2.0.5 → 2.0.6

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.
@@ -81,6 +81,7 @@ export declare class Firestore {
81
81
  * ```
82
82
  */
83
83
  team(id: Team.Id): FirestoreDocument<Team>;
84
+ userAuthentication(id: string): FirestoreDocument<User.Id>;
84
85
  /**
85
86
  * Gets a reference to a user document.
86
87
  *
@@ -92,6 +92,11 @@ class Firestore {
92
92
  .collection('teams')
93
93
  .document(id.guidString);
94
94
  }
95
+ userAuthentication(id) {
96
+ return this.base
97
+ .collection('userAuthentications')
98
+ .document(id);
99
+ }
95
100
  /**
96
101
  * Gets a reference to a user document.
97
102
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stevenkellner/team-conduct-api",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Firebase API for Team Conduct",
5
5
  "license": "MIT",
6
6
  "author": "Steven Kellner",
@@ -99,6 +99,12 @@ export class Firestore {
99
99
  .document(id.guidString) as FirestoreDocument<Team>;
100
100
  }
101
101
 
102
+ public userAuthentication(id: string): FirestoreDocument<User.Id> {
103
+ return this.base
104
+ .collection('userAuthentications')
105
+ .document(id);
106
+ }
107
+
102
108
  /**
103
109
  * Gets a reference to a user document.
104
110
  *