connect-admin/src/app/pages/content-providers/criteria-utils.ts

19 lines
642 B
TypeScript

import {Option} from "../../openaireLibrary/sharedComponents/input/input.component";
export class CriteriaUtils {
public static readonly fields: Option[] = [
{value: 'title', label: 'Title'},
{value: 'author', label: 'Author\'s name'},
{value: 'author ORCID', label: 'Author\'s ORCID'},
{value: 'contributor', label: 'Contributor'},
{value: 'description', label: 'Description'}
]
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'}
]
}