@tumbaland/frontend-core 1.10.0 → 1.11.0
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/dist/types.d.ts +9 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -8,6 +8,15 @@ export interface User {
|
|
|
8
8
|
roles?: string[];
|
|
9
9
|
isApproved?: boolean;
|
|
10
10
|
lastLoginAt?: string;
|
|
11
|
+
/**
|
|
12
|
+
* When the owner asked for the account to be removed, if they have.
|
|
13
|
+
*
|
|
14
|
+
* Served by `/auth/profile`, which is what this type describes. A request and
|
|
15
|
+
* not a removal: the account signs in and works exactly as before while it
|
|
16
|
+
* stands, and an administrator does the deleting by hand. Null once the owner
|
|
17
|
+
* withdraws it.
|
|
18
|
+
*/
|
|
19
|
+
deletionRequestedAt?: string | null;
|
|
11
20
|
}
|
|
12
21
|
export interface AuthResponse {
|
|
13
22
|
authenticated: boolean;
|