From ee1f35cde2d9f3eedccbc22c872c751df6a3d71e Mon Sep 17 00:00:00 2001
From: Gitar <noreply@gitar.co>
Date: Fri, 20 Sep 2024 08:31:57 +0000
Subject: [PATCH] [Gitar] Updating TypeScript files

---
 frontend/src/interfaces/uiConfig.ts | 1 -
 src/lib/types/experimental.ts       | 5 -----
 src/server-dev.ts                   | 1 -
 3 files changed, 7 deletions(-)

diff --git a/frontend/src/interfaces/uiConfig.ts b/frontend/src/interfaces/uiConfig.ts
index eee1ecbf974e..7fcb3fb32722 100644
--- a/frontend/src/interfaces/uiConfig.ts
+++ b/frontend/src/interfaces/uiConfig.ts
@@ -86,7 +86,6 @@ export type UiFlags = {
     enableLegacyVariants?: boolean;
     navigationSidebar?: boolean;
     flagCreator?: boolean;
-    newEventSearch?: boolean;
     archiveProjects?: boolean;
     projectListImprovements?: boolean;
     onboardingUI?: boolean;
diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts
index b087f1ed994c..58512f22615d 100644
--- a/src/lib/types/experimental.ts
+++ b/src/lib/types/experimental.ts
@@ -56,7 +56,6 @@ export type IFlagKey =
     | 'extendedMetrics'
     | 'removeUnsafeInlineStyleSrc'
     | 'originMiddleware'
-    | 'newEventSearch'
     | 'archiveProjects'
     | 'projectListImprovements'
     | 'useProjectReadModel'
@@ -282,10 +281,6 @@ const flags: IFlags = {
         process.env.UNLEASH_EXPERIMENTAL_ORIGIN_MIDDLEWARE,
         false,
     ),
-    newEventSearch: parseEnvVarBoolean(
-        process.env.UNLEASH_EXPERIMENTAL_NEW_EVENT_SEARCH,
-        false,
-    ),
     archiveProjects: parseEnvVarBoolean(
         process.env.UNLEASH_EXPERIMENTAL_ARCHIVE_PROJECTS,
         false,
diff --git a/src/server-dev.ts b/src/server-dev.ts
index be7e586391db..5cdb8a7d58c0 100644
--- a/src/server-dev.ts
+++ b/src/server-dev.ts
@@ -51,7 +51,6 @@ process.nextTick(async () => {
                         enableLegacyVariants: false,
                         extendedMetrics: true,
                         originMiddleware: true,
-                        newEventSearch: true,
                         projectListImprovements: true,
                         useProjectReadModel: true,
                         addonUsageMetrics: true,