Merge branch 'wells-bus-1945-search-endpoint-should-include-updated-at' into big-nate-bus-1935-copying-project-ids-from-buster-reports-results-in-empty

This commit is contained in:
Nate Kelley 2025-09-25 10:28:56 -06:00
commit 113da029fe
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
2 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,7 @@ export async function searchText(input: SearchTextInput): Promise<SearchTextResp
assetType: assetSearchV2.assetType, assetType: assetSearchV2.assetType,
title: assetSearchV2.title, title: assetSearchV2.title,
additionalText: assetSearchV2.additionalText, additionalText: assetSearchV2.additionalText,
updatedAt: assetSearchV2.updatedAt,
}) })
.from(assetSearchV2) .from(assetSearchV2)
.innerJoin( .innerJoin(

View File

@ -6,4 +6,5 @@ export const TextSearchResultSchema = z.object({
assetType: AssetTypeSchema, assetType: AssetTypeSchema,
title: z.string(), title: z.string(),
additionalText: z.string().nullable(), additionalText: z.string().nullable(),
updatedAt: z.string().datetime(),
}); });