Changeset View
Changeset View
Standalone View
Standalone View
swh/search/query_language/tokens.js
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | const sortByOptions = [ | ||||
'last_release', | 'last_release', | ||||
'created', | 'created', | ||||
'modified', | 'modified', | ||||
'published' | 'published' | ||||
]; | ]; | ||||
const visitTypeOptions = [ | const visitTypeOptions = [ | ||||
"any", | "any", | ||||
"arch", | |||||
"aur", | |||||
"bzr", | "bzr", | ||||
"cran", | "cran", | ||||
"crates", | |||||
"cvs", | "cvs", | ||||
"deb", | "deb", | ||||
"deposit", | "deposit", | ||||
"ftp", | "ftp", | ||||
"hackage", | |||||
"hg", | "hg", | ||||
"git", | "git", | ||||
"golang", | |||||
"maven", | "maven", | ||||
"nixguix", | "nixguix", | ||||
"npm", | "npm", | ||||
"opam", | "opam", | ||||
"pubdev", | |||||
"pypi", | "pypi", | ||||
"rpm", | |||||
"svn", | "svn", | ||||
"tar" | "tar" | ||||
]; | ]; | ||||
// Extra tokens | // Extra tokens | ||||
const OR = "or"; | const OR = "or"; | ||||
const AND = "and"; | const AND = "and"; | ||||
Show All 34 Lines |