Skip to content

Commit 2916f4a

Browse files
authored
fix(contracts): drop unused project file search query exports (#9062)
1 parent 219b292 commit 2916f4a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎apps/sim/lib/api/contracts/v2/project-file-search.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import type { z } from 'zod'
21
import { defineRouteContract } from '@/lib/api/contracts/types'
32
import {
43
v2FileSearchResultsSchema,
@@ -7,14 +6,13 @@ import {
76
import { v2ProjectFilesParamsSchema } from '@/lib/api/contracts/v2/project-files'
87
import { v2DataResponse } from '@/lib/api/contracts/v2/shared'
98

10-
export const v2SearchProjectFileContentQuerySchema = v2SearchFileContentQuerySchema
9+
const v2SearchProjectFileContentQuerySchema = v2SearchFileContentQuerySchema
1110
.omit({ workspaceId: true })
1211
.extend({
1312
folderPaths: v2SearchFileContentQuerySchema.shape.folderPaths.describe(
1413
'Comma-separated folder paths within the Project. Omit to search the entire Project; index coverage applies to the selected folders.'
1514
),
1615
})
17-
export type V2SearchProjectFileContentQuery = z.output<typeof v2SearchProjectFileContentQuerySchema>
1816

1917
export const v2SearchProjectFileContentContract = defineRouteContract({
2018
method: 'GET',

0 commit comments

Comments
 (0)