From aad5a3391999af087433ae83c5c36f3953c8e6cb Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 8 Nov 2024 11:14:16 -0600 Subject: [PATCH] Add owner property to TrustedDevices type (#48408) (#48694) This adds the owner property to our TrustedDevices type to support adding owner to our device trust table in `e` --- web/packages/teleport/src/DeviceTrust/types.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/packages/teleport/src/DeviceTrust/types.ts b/web/packages/teleport/src/DeviceTrust/types.ts index f857fdde0a665..062656e4c9699 100644 --- a/web/packages/teleport/src/DeviceTrust/types.ts +++ b/web/packages/teleport/src/DeviceTrust/types.ts @@ -22,7 +22,8 @@ export type TrustedDevice = { id: string; assetTag: string; osType: TrustedDeviceOSType; - enrollStatus: string; + enrollStatus: 'enrolled' | 'not enrolled'; + owner?: string; }; export type TrustedDeviceOSType = 'Windows' | 'Linux' | 'macOS';