From 5f0da80afad806ed2d36468cb27c4593568bbedd Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Wed, 14 Oct 2026 18:20:22 -0700 Subject: [PATCH] fix(contracts): drop unused project file search query exports --- apps/sim/lib/api/contracts/v2/project-file-search.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/sim/lib/api/contracts/v2/project-file-search.ts b/apps/sim/lib/api/contracts/v2/project-file-search.ts index 02ee7fdfb37..3e4a5716b41 100644 --- a/apps/sim/lib/api/contracts/v2/project-file-search.ts +++ b/apps/sim/lib/api/contracts/v2/project-file-search.ts @@ -1,4 +1,3 @@ -import type { z } from 'zod' import { defineRouteContract } from '@/lib/api/contracts/types' import { v2FileSearchResultsSchema, @@ -7,14 +6,13 @@ import { import { v2ProjectFilesParamsSchema } from '@/lib/api/contracts/v2/project-files' import { v2DataResponse } from '@/lib/api/contracts/v2/shared' -export const v2SearchProjectFileContentQuerySchema = v2SearchFileContentQuerySchema +const v2SearchProjectFileContentQuerySchema = v2SearchFileContentQuerySchema .omit({ workspaceId: true }) .extend({ folderPaths: v2SearchFileContentQuerySchema.shape.folderPaths.describe( 'Comma-separated folder paths within the Project. Omit to search the entire Project; index coverage applies to the selected folders.' ), }) -export type V2SearchProjectFileContentQuery = z.output export const v2SearchProjectFileContentContract = defineRouteContract({ method: 'GET',