Spaces:
Sleeping
Sleeping
Andrew
commited on
Commit
·
bac49ce
1
Parent(s):
f653063
feat(types): Add password and recovery key hash fields to User interface
Browse files- src/lib/types/User.ts +3 -0
src/lib/types/User.ts
CHANGED
|
@@ -18,6 +18,9 @@ export interface User extends Timestamps {
|
|
| 18 |
// Legacy field for backward compatibility (maps to authId when authProvider is "huggingface")
|
| 19 |
hfUserId?: string;
|
| 20 |
|
|
|
|
|
|
|
|
|
|
| 21 |
isAdmin?: boolean;
|
| 22 |
isEarlyAccess?: boolean;
|
| 23 |
}
|
|
|
|
| 18 |
// Legacy field for backward compatibility (maps to authId when authProvider is "huggingface")
|
| 19 |
hfUserId?: string;
|
| 20 |
|
| 21 |
+
passwordHash?: string;
|
| 22 |
+
recoveryKeyHash?: string;
|
| 23 |
+
|
| 24 |
isAdmin?: boolean;
|
| 25 |
isEarlyAccess?: boolean;
|
| 26 |
}
|