# DeviceLookupInfo

<!-- https://uncage.vercel.app/docs/api/react-ui/interfaces/devicelookupinfo/ -->

Defined in: react-ui/src/components/ApproveDevice.tsx:9

What the hub knows about a pending code (`hub.lookupDevice(code, user)`; extra fields are ignored).

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
| <a id="property-expiresat"></a> `expiresAt?` | `string` | - | react-ui/src/components/ApproveDevice.tsx:13 |
| <a id="property-name"></a> `name?` | `string` | The computer's name as sent by `uncage setup`. | react-ui/src/components/ApproveDevice.tsx:11 |
| <a id="property-os"></a> `os?` | `string` | - | react-ui/src/components/ApproveDevice.tsx:12 |
| <a id="property-repairsmachine"></a> `repairsMachine?` | \| \{ `id`: `string`; `name`: `string`; \} \| `null` | Approving re-pairs (rotates the token of) this existing computer of the user. | react-ui/src/components/ApproveDevice.tsx:19 |
| <a id="property-requestedat"></a> `requestedAt?` | `string` | When `uncage setup` asked for the code (ISO), shown as relative time. | react-ui/src/components/ApproveDevice.tsx:15 |
| <a id="property-requestip"></a> `requestIp?` | `string` \| `null` | The requesting computer's IP as the hub saw it; `null` = unknown (not shown). | react-ui/src/components/ApproveDevice.tsx:17 |
