Ensuring the website uses the most specific auth type with the backend when fetching and interacting with tasks

This commit is contained in:
Keith Stevens
2023-01-19 17:21:41 +09:00
parent d228ddae30
commit df1eca4eaf
5 changed files with 56 additions and 20 deletions
+6 -4
View File
@@ -1,7 +1,4 @@
/**
* Reports the Backend's knowledge of a user.
*/
export interface BackendUser {
export interface BackendUserCore {
/**
* The user's unique ID according to the `auth_method`.
*/
@@ -18,7 +15,12 @@ export interface BackendUser {
* - local
*/
auth_method: string;
}
/**
* Reports the Backend's knowledge of a user.
*/
export interface BackendUser extends BackendUserCore {
/**
* The backend's UUID for this user.
*/