2021-05-19 13:40:29 +02:00
|
|
|
import {Option} from "../../openaireLibrary/sharedComponents/input/input.component";
|
|
|
|
|
|
|
|
export class CriteriaUtils {
|
|
|
|
public static readonly fields: Option[] = [
|
|
|
|
{value: 'author', label: 'Author\'s name'},
|
2023-03-08 23:26:06 +01:00
|
|
|
{value: 'title', label: 'Title'},
|
2022-11-28 12:06:40 +01:00
|
|
|
{value: 'orcid', label: 'Author\'s ORCID'},
|
2021-05-19 13:40:29 +02:00
|
|
|
{value: 'contributor', label: 'Contributor'},
|
2023-03-08 23:26:06 +01:00
|
|
|
{value: 'description', label: 'Description'},
|
|
|
|
{value: 'subject', label: 'Subject'},
|
|
|
|
{value: 'fos', label: 'Field of Science'}
|
2021-05-19 13:40:29 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
public static readonly verbs: Option[] = [
|
|
|
|
{value: 'contains', label: 'contains'},
|
|
|
|
{value: 'equals', label: 'equals'},
|
|
|
|
{value: 'not_contains', label: 'not contains'},
|
|
|
|
{value: 'not_equals', label: 'not equals'}
|
|
|
|
]
|
|
|
|
}
|