@ttt-productions/auth-core 0.5.0 → 0.5.1

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.
@@ -88,7 +88,7 @@ export interface AuthContext<TUser = unknown, TProject = unknown> {
88
88
  export type UserStatus = "ok" | "banned" | "disabled";
89
89
  /**
90
90
  * Configuration for createAssertAuth. The consuming app supplies every
91
- * TTT-specific (or Q-Sports-specific) operation as a callback.
91
+ * app-specific operation as a callback.
92
92
  */
93
93
  export interface AssertAuthConfig<TUser, TProject> {
94
94
  /**
@@ -99,12 +99,12 @@ export interface AssertAuthConfig<TUser, TProject> {
99
99
  firestore: () => Firestore;
100
100
  /**
101
101
  * Returns the Firestore document path for a user profile, given a uid.
102
- * Example (TTT): `userProfiles/${uid}`
102
+ * Example: `userProfiles/${uid}`
103
103
  */
104
104
  userProfilePath: (uid: string) => string;
105
105
  /**
106
106
  * Returns the Firestore document path for a project, given a projectId.
107
- * Example (TTT): `allProjects/${projectId}`
107
+ * Example: `allProjects/${projectId}`
108
108
  */
109
109
  projectPath: (projectId: string) => string;
110
110
  /**
@@ -1,7 +1,7 @@
1
1
  // packages/auth-core/src/server/types.ts
2
2
  //
3
3
  // Types for the createAssertAuth factory. Fully generic over the consuming
4
- // app's user and project document shapes. The package contains no TTT- or
5
- // Q-Sports-specific knowledge.
4
+ // app's user and project document shapes. The package contains no
5
+ // app-specific knowledge.
6
6
  export {};
7
7
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/server/types.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,0EAA0E;AAC1E,+BAA+B"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/server/types.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,kEAAkE;AAClE,0BAA0B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttt-productions/auth-core",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Shared Firebase authentication utilities and React hooks for TTT Productions apps",
5
5
  "repository": {
6
6
  "type": "git",