mirror of https://github.com/buster-so/buster.git
adding updatedAt to the search endpoint
This commit is contained in:
parent
1841953e9c
commit
2960aa58bb
|
@ -100,6 +100,7 @@ export async function searchText(input: SearchTextInput): Promise<SearchTextResp
|
|||
assetType: assetSearchV2.assetType,
|
||||
title: assetSearchV2.title,
|
||||
additionalText: assetSearchV2.additionalText,
|
||||
updatedAt: assetSearchV2.updatedAt,
|
||||
})
|
||||
.from(assetSearchV2)
|
||||
.innerJoin(
|
||||
|
|
|
@ -5,4 +5,5 @@ export const TextSearchResultSchema = z.object({
|
|||
assetType: z.string(),
|
||||
title: z.string(),
|
||||
additionalText: z.string().nullable(),
|
||||
updatedAt: z.string().datetime(),
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue