AccountDTO
AccountDTO summarizes a saved account without exposing credentials.
Kind
struct
Fields
| Go field | JSON field | Go type | TypeScript type | Optional | Nullable |
|---|---|---|---|---|---|
ID | id | string | string | No | No |
Username | username | string | string | No | No |
DisplayName | displayName | string | string | No | No |
Email | email | string | string | No | No |
Status | status | string | string | No | No |
IsDefault | isDefault | bool | boolean | No | No |
LastValidatedAt | lastValidatedAt | *string | string | null | Yes | Yes |
Used by
- LoginResultDTO — field
account - AccountController.ListAccounts — return value
- AccountController.ValidateAccount — return value
Source
internal/transport/wails/dto.go:29