feat: Allow filtering searches by 'source'

fix: Do not show API searches in recent list in app
This commit is contained in:
Tom Moor
2023-12-27 16:56:27 -05:00
parent 820e4839d5
commit 551f569896
8 changed files with 65 additions and 20 deletions

View File

@@ -21,3 +21,13 @@ export const SearchesUpdateSchema = BaseSchema.extend({
});
export type SearchesUpdateReq = z.infer<typeof SearchesUpdateSchema>;
export const SearchesListSchema = BaseSchema.extend({
body: z
.object({
source: z.string().optional(),
})
.optional(),
});
export type SearchesListReq = z.infer<typeof SearchesListSchema>;