diff --git a/packages/server/src/api/controllers/row/internalSearch.ts b/packages/server/src/api/controllers/row/internalSearch.ts index f2abc91b14..bdb9379334 100644 --- a/packages/server/src/api/controllers/row/internalSearch.ts +++ b/packages/server/src/api/controllers/row/internalSearch.ts @@ -1,9 +1,9 @@ import { db as dbCore, context, SearchParams } from "@budibase/backend-core" -import { SearchFilters } from "@budibase/types" +import { SearchFilters, Row } from "@budibase/types" export async function paginatedSearch( query: SearchFilters, - params: SearchParams + params: SearchParams ) { const appId = context.getAppId() return dbCore.paginatedSearch( @@ -14,7 +14,10 @@ export async function paginatedSearch( ) } -export async function fullSearch(query: SearchFilters, params: SearchParams) { +export async function fullSearch( + query: SearchFilters, + params: SearchParams +) { const appId = context.getAppId() return dbCore.fullSearch(appId!, dbCore.SearchIndexes.ROWS, query, params) } diff --git a/packages/types/src/api/web/global/auditLogs.ts b/packages/types/src/api/web/global/auditLogs.ts index 5a0cf4f398..dbd22b2bf2 100644 --- a/packages/types/src/api/web/global/auditLogs.ts +++ b/packages/types/src/api/web/global/auditLogs.ts @@ -8,7 +8,7 @@ export interface AuditLogSearchParams { event?: Event[] startDate?: string endDate?: string - metadataSearch?: string + fullSearch?: string } export interface DownloadAuditLogsRequest extends AuditLogSearchParams {}