@discover-cloud/shared 1.0.3 → 1.0.4
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.
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OrganizationRole, MembershipStatus, OrganizationStatus, Theme, Currency } from "../enums";
|
|
2
|
+
/**
|
|
3
|
+
* USER SERVICE DTOs
|
|
4
|
+
* ──────────────────
|
|
5
|
+
* Shapes returned by the user service over HTTP.
|
|
6
|
+
*
|
|
7
|
+
* UserDto has no status field — the user service DB does not store
|
|
8
|
+
* account lifecycle state. Status is owned by the auth service and
|
|
9
|
+
* available in the internal JWT's accessContext.accountRole, or by
|
|
10
|
+
* calling the auth service directly.
|
|
11
|
+
*/
|
|
2
12
|
export interface UserDto {
|
|
3
13
|
id: string;
|
|
4
14
|
email: string;
|
|
5
|
-
status: AccountStatus;
|
|
6
15
|
createdAt: Date;
|
|
7
16
|
updatedAt: Date;
|
|
8
17
|
}
|