mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #4135 from omnivore-app/feat/original-url-feature
Add original_url to score service calls
This commit is contained in:
commit
e1694c98ee
3 changed files with 3 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ export const scoreLibraryItem = async (
|
|||
has_site_icon: !!libraryItem.siteIcon,
|
||||
saved_at: libraryItem.savedAt,
|
||||
site: libraryItem.siteName,
|
||||
original_url: libraryItem.originalUrl,
|
||||
directionality: libraryItem.directionality,
|
||||
folder: libraryItem.folder,
|
||||
subscription_type: 'library',
|
||||
|
|
|
|||
|
|
@ -218,6 +218,7 @@ const rankCandidates = async (
|
|||
has_site_icon: !!item.siteIcon,
|
||||
saved_at: item.date,
|
||||
site: item.siteName,
|
||||
original_url: item.url,
|
||||
language: item.languageCode,
|
||||
directionality: item.dir,
|
||||
folder: item.folder,
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ export interface Feature {
|
|||
is_newsletter: boolean
|
||||
is_feed: boolean
|
||||
|
||||
original_url?: string
|
||||
site?: string
|
||||
language?: string
|
||||
author?: string
|
||||
|
|
|
|||
Loading…
Reference in a new issue