mirror of https://github.com/buster-so/buster.git
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:
commit
113da029fe
|
@ -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(
|
||||||
|
|
|
@ -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(),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue