mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
Adds a device management tab under settings -> security that allows users to: - View and manage their account's connected devices - Remove/deactivate devices - See device details like platform, last login, and trust status - Sort and filter device list with virtual scrolling Resolves PM-1214
21 lines
563 B
TypeScript
21 lines
563 B
TypeScript
// FIXME: Update this file to be type safe and remove this and next line
|
|
// @ts-strict-ignore
|
|
import { DeviceType } from "../../../../enums";
|
|
import { View } from "../../../../models/view/view";
|
|
import { DeviceResponse } from "../responses/device.response";
|
|
|
|
export class DeviceView implements View {
|
|
id: string;
|
|
userId: string;
|
|
name: string;
|
|
identifier: string;
|
|
type: DeviceType;
|
|
creationDate: string;
|
|
revisionDate: string;
|
|
response: DeviceResponse;
|
|
|
|
constructor(deviceResponse: DeviceResponse) {
|
|
Object.assign(this, deviceResponse);
|
|
}
|
|
}
|