diff --git a/ui/app/(ai)/analyst/(tools)/checks.ts b/ui/app/(ai)/analyst/(tools)/checks.ts index 58b0adb56a..0bd93900e6 100644 --- a/ui/app/(ai)/analyst/(tools)/checks.ts +++ b/ui/app/(ai)/analyst/(tools)/checks.ts @@ -1,7 +1,7 @@ import { tool } from "@langchain/core/tools"; import { aiGetProviderChecks } from "@/lib/lighthouse/helperChecks"; -import { checkSchema } from "@/types/ai"; +import { checkSchema } from "@/types/lighthouse"; export const getProviderChecksTool = tool( async ({ provider_type }) => { diff --git a/ui/app/(ai)/analyst/(tools)/compliances.ts b/ui/app/(ai)/analyst/(tools)/compliances.ts index 38d97875e1..f2b09e199a 100644 --- a/ui/app/(ai)/analyst/(tools)/compliances.ts +++ b/ui/app/(ai)/analyst/(tools)/compliances.ts @@ -9,7 +9,7 @@ import { getComplianceFrameworksSchema, getComplianceOverviewSchema, getCompliancesOverviewSchema, -} from "@/types/ai"; +} from "@/types/lighthouse"; export const getCompliancesOverviewTool = tool( async ({ scanId, fields, filters, page, page_size, sort }) => { diff --git a/ui/app/(ai)/analyst/(tools)/findings.ts b/ui/app/(ai)/analyst/(tools)/findings.ts index 5469961433..e81e9ca0b6 100644 --- a/ui/app/(ai)/analyst/(tools)/findings.ts +++ b/ui/app/(ai)/analyst/(tools)/findings.ts @@ -1,7 +1,7 @@ import { tool } from "@langchain/core/tools"; import { getFindings, getMetadataInfo } from "@/actions/findings"; -import { getFindingsSchema, getMetadataInfoSchema } from "@/types/ai"; +import { getFindingsSchema, getMetadataInfoSchema } from "@/types/lighthouse"; export const getFindingsTool = tool( async ({ page, pageSize, query, sort, filters }) => { diff --git a/ui/app/(ai)/analyst/(tools)/overview.ts b/ui/app/(ai)/analyst/(tools)/overview.ts index 3e3c1d4416..8087648aef 100644 --- a/ui/app/(ai)/analyst/(tools)/overview.ts +++ b/ui/app/(ai)/analyst/(tools)/overview.ts @@ -9,7 +9,7 @@ import { getFindingsBySeveritySchema, getFindingsByStatusSchema, getProvidersOverviewSchema, -} from "@/types/ai"; +} from "@/types/lighthouse"; export const getProvidersOverviewTool = tool( async ({ page, query, sort, filters }) => { diff --git a/ui/app/(ai)/analyst/(tools)/providers.ts b/ui/app/(ai)/analyst/(tools)/providers.ts index 7f929c24d6..99c95f7765 100644 --- a/ui/app/(ai)/analyst/(tools)/providers.ts +++ b/ui/app/(ai)/analyst/(tools)/providers.ts @@ -1,7 +1,7 @@ import { tool } from "@langchain/core/tools"; import { getProvider, getProviders } from "@/actions/providers"; -import { getProviderSchema, getProvidersSchema } from "@/types/ai"; +import { getProviderSchema, getProvidersSchema } from "@/types/lighthouse"; export const getProvidersTool = tool( async ({ page, query, sort, filters }) => { diff --git a/ui/app/(ai)/analyst/(tools)/resources.ts b/ui/app/(ai)/analyst/(tools)/resources.ts index af9520fedf..9c8990670e 100644 --- a/ui/app/(ai)/analyst/(tools)/resources.ts +++ b/ui/app/(ai)/analyst/(tools)/resources.ts @@ -1,7 +1,7 @@ import { tool } from "@langchain/core/tools"; import { aiGetResource, aiGetResources } from "@/actions/lighthouse/resources"; -import { getResourceSchema, getResourcesSchema } from "@/types/ai"; +import { getResourceSchema, getResourcesSchema } from "@/types/lighthouse"; export const getResourcesTool = tool( async ({ page, query, sort, filters, fields }) => { diff --git a/ui/app/(ai)/analyst/(tools)/roles.ts b/ui/app/(ai)/analyst/(tools)/roles.ts index 61dcd663d1..05d9f6b9a3 100644 --- a/ui/app/(ai)/analyst/(tools)/roles.ts +++ b/ui/app/(ai)/analyst/(tools)/roles.ts @@ -1,7 +1,7 @@ import { tool } from "@langchain/core/tools"; import { getRoleInfoById, getRoles } from "@/actions/roles"; -import { getRoleSchema, getRolesSchema } from "@/types/ai"; +import { getRoleSchema, getRolesSchema } from "@/types/lighthouse"; export const getRolesTool = tool( async ({ page, query, sort, filters }) => { diff --git a/ui/app/(ai)/analyst/(tools)/scans.ts b/ui/app/(ai)/analyst/(tools)/scans.ts index ff346528eb..dc6165492e 100644 --- a/ui/app/(ai)/analyst/(tools)/scans.ts +++ b/ui/app/(ai)/analyst/(tools)/scans.ts @@ -1,7 +1,7 @@ import { tool } from "@langchain/core/tools"; import { getScan, getScans } from "@/actions/scans"; -import { getScanSchema, getScansSchema } from "@/types/ai"; +import { getScanSchema, getScansSchema } from "@/types/lighthouse"; export const getScansTool = tool( async ({ page, query, sort, filters }) => { diff --git a/ui/app/(ai)/analyst/(tools)/users.ts b/ui/app/(ai)/analyst/(tools)/users.ts index 49513fdfc9..4747129c61 100644 --- a/ui/app/(ai)/analyst/(tools)/users.ts +++ b/ui/app/(ai)/analyst/(tools)/users.ts @@ -2,7 +2,7 @@ import { tool } from "@langchain/core/tools"; import { z } from "zod"; import { getProfileInfo, getUsers } from "@/actions/users/users"; -import { getUsersSchema } from "@/types/ai"; +import { getUsersSchema } from "@/types/lighthouse"; export const getUsersTool = tool( async ({ page, query, sort, filters }) => { diff --git a/ui/types/ai/checks.ts b/ui/types/lighthouse/checks.ts similarity index 100% rename from ui/types/ai/checks.ts rename to ui/types/lighthouse/checks.ts diff --git a/ui/types/ai/compliances.ts b/ui/types/lighthouse/compliances.ts similarity index 100% rename from ui/types/ai/compliances.ts rename to ui/types/lighthouse/compliances.ts diff --git a/ui/types/ai/findings.ts b/ui/types/lighthouse/findings.ts similarity index 100% rename from ui/types/ai/findings.ts rename to ui/types/lighthouse/findings.ts diff --git a/ui/types/ai/index.ts b/ui/types/lighthouse/index.ts similarity index 100% rename from ui/types/ai/index.ts rename to ui/types/lighthouse/index.ts diff --git a/ui/types/ai/overviews.ts b/ui/types/lighthouse/overviews.ts similarity index 100% rename from ui/types/ai/overviews.ts rename to ui/types/lighthouse/overviews.ts diff --git a/ui/types/ai/providers.ts b/ui/types/lighthouse/providers.ts similarity index 100% rename from ui/types/ai/providers.ts rename to ui/types/lighthouse/providers.ts diff --git a/ui/types/ai/resources.ts b/ui/types/lighthouse/resources.ts similarity index 100% rename from ui/types/ai/resources.ts rename to ui/types/lighthouse/resources.ts diff --git a/ui/types/ai/roles.ts b/ui/types/lighthouse/roles.ts similarity index 100% rename from ui/types/ai/roles.ts rename to ui/types/lighthouse/roles.ts diff --git a/ui/types/ai/scans.ts b/ui/types/lighthouse/scans.ts similarity index 100% rename from ui/types/ai/scans.ts rename to ui/types/lighthouse/scans.ts diff --git a/ui/types/ai/users.ts b/ui/types/lighthouse/users.ts similarity index 100% rename from ui/types/ai/users.ts rename to ui/types/lighthouse/users.ts