mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-14 15:34:19 +00:00
Rename ai types folder to lighthouse
This commit is contained in:
19 files changed
+9
-9
No files matched your search
@@ -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 }) => {
|
||||
|
||||
@@ -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 }) => {
|
||||
|
||||
@@ -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 }) => {
|
||||
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
getFindingsBySeveritySchema,
|
||||
getFindingsByStatusSchema,
|
||||
getProvidersOverviewSchema,
|
||||
} from "@/types/ai";
|
||||
} from "@/types/lighthouse";
|
||||
|
||||
export const getProvidersOverviewTool = tool(
|
||||
async ({ page, query, sort, filters }) => {
|
||||
|
||||
@@ -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 }) => {
|
||||
|
||||
@@ -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 }) => {
|
||||
|
||||
@@ -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 }) => {
|
||||
|
||||
@@ -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 }) => {
|
||||
|
||||
@@ -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 }) => {
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user