From e8e776046a01aa257cecfe29912bbfcbd1095d35 Mon Sep 17 00:00:00 2001 From: Noah Stride Date: Tue, 10 Dec 2024 14:58:39 +0000 Subject: [PATCH] Prettier --- web/packages/teleport/src/services/audit/types.ts | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/web/packages/teleport/src/services/audit/types.ts b/web/packages/teleport/src/services/audit/types.ts index f8d65c1c4862a..bc2f8430b3bbf 100644 --- a/web/packages/teleport/src/services/audit/types.ts +++ b/web/packages/teleport/src/services/audit/types.ts @@ -1326,9 +1326,18 @@ export type RawEvents = { [eventCodes.BOT_CREATED]: RawEvent; [eventCodes.BOT_UPDATED]: RawEvent; [eventCodes.BOT_DELETED]: RawEvent; - [eventCodes.WORKLOAD_IDENTITY_CREATE]: RawEvent; - [eventCodes.WORKLOAD_IDENTITY_UPDATE]: RawEvent; - [eventCodes.WORKLOAD_IDENTITY_DELETE]: RawEvent; + [eventCodes.WORKLOAD_IDENTITY_CREATE]: RawEvent< + typeof eventCodes.WORKLOAD_IDENTITY_CREATE, + HasName + >; + [eventCodes.WORKLOAD_IDENTITY_UPDATE]: RawEvent< + typeof eventCodes.WORKLOAD_IDENTITY_UPDATE, + HasName + >; + [eventCodes.WORKLOAD_IDENTITY_DELETE]: RawEvent< + typeof eventCodes.WORKLOAD_IDENTITY_DELETE, + HasName + >; [eventCodes.LOGIN_RULE_CREATE]: RawEvent< typeof eventCodes.LOGIN_RULE_CREATE, HasName