mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Allow search page by highlight or label id
This commit is contained in:
parent
fa97c9511c
commit
8f50285ad5
1 changed files with 2 additions and 2 deletions
|
|
@ -274,7 +274,7 @@ export const deletePage = async (
|
|||
}
|
||||
|
||||
export const getPageByParam = async <K extends keyof ParamSet>(
|
||||
param: Record<K, Page[K]>,
|
||||
param: Record<K, ParamSet[K]>,
|
||||
includeOriginalHtml = false
|
||||
): Promise<Page | undefined> => {
|
||||
try {
|
||||
|
|
@ -506,7 +506,7 @@ export const countByCreatedAt = async (
|
|||
}
|
||||
|
||||
export const deletePagesByParam = async <K extends keyof ParamSet>(
|
||||
param: Record<K, Page[K]>,
|
||||
param: Record<K, ParamSet[K]>,
|
||||
ctx: PageContext
|
||||
): Promise<boolean> => {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in a new issue